aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-07-02 14:48:44 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-07-02 14:48:44 +0200
commit35cc1c0ff33b36392577f09164b44ec9091693b1 (patch)
treed93c157756cc11f6fd34e2485b4fcc694f5780b2
parentf3405e5b0342362d5d592f013014847a4dc135d8 (diff)
misc: Do not mix struct/class in the forward declaration
-rw-r--r--src/poll_controller.h2
-rw-r--r--src/rlc.h2
-rw-r--r--src/sba.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/poll_controller.h b/src/poll_controller.h
index 67af4084..dac3e6d4 100644
--- a/src/poll_controller.h
+++ b/src/poll_controller.h
@@ -23,7 +23,7 @@
struct gprs_rlcmac_bts;
-class BTS;
+struct BTS;
/**
* I belong to a BTS and I am responsible for finding TBFs and
diff --git a/src/rlc.h b/src/rlc.h
index 17a1360b..7bea8a1c 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -25,7 +25,7 @@
#define RLC_MAX_WS 64 /* max window size */
#define RLC_MAX_LEN 54 /* CS-4 including spare bits */
-class BTS;
+struct BTS;
struct gprs_rlc_v_n;
/* The state of a BSN in the send/receive window */
diff --git a/src/sba.h b/src/sba.h
index f39834a9..9047f1a3 100644
--- a/src/sba.h
+++ b/src/sba.h
@@ -26,7 +26,7 @@ extern "C" {
#include <osmocom/core/linuxlist.h>
}
-class BTS;
+struct BTS;
class PollController;
struct gprs_rlcmac_sba;
struct gprs_rlcmac_pdch;