aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-20 13:48:15 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-20 14:18:11 +0100
commitf88c8a02fc35fbcc8b85e3b51733f1a20ceadf13 (patch)
treeac894a909954d057f9ef9b0b19a37fc0afb3d864
parent392736d38bf9dae29800bde630c9ceee8a3914f3 (diff)
remove hand full of 'extern ipacc_rtp_direct' definitions
and instead declare it in gsm_data.h
-rw-r--r--openbsc/include/openbsc/gsm_data.h1
-rw-r--r--openbsc/src/bsc_hack.c1
-rw-r--r--openbsc/src/bsc_init.c1
-rw-r--r--openbsc/src/gsm_04_08.c2
4 files changed, 1 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index f4e4d217..f3ec9eb2 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -542,6 +542,7 @@ char *gsm_band_name(enum gsm_band band);
enum gsm_band gsm_band_parse(const char *mhz);
extern void *tall_bsc_ctx;
+extern int ipacc_rtp_direct;
static inline int is_ipaccess_bts(struct gsm_bts *bts)
{
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c
index c0695ef3..a9a5d372 100644
--- a/openbsc/src/bsc_hack.c
+++ b/openbsc/src/bsc_hack.c
@@ -41,7 +41,6 @@
struct gsm_network *bsc_gsmnet = 0;
static const char *database_name = "hlr.sqlite3";
static const char *config_file = "openbsc.cfg";
-extern int ipacc_rtp_direct;
extern int bsc_bootstrap_network(int (*mmc_rev)(struct gsm_network *, int, void *),
const char *cfg_file);
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c
index 7065833b..8450af6d 100644
--- a/openbsc/src/bsc_init.c
+++ b/openbsc/src/bsc_init.c
@@ -35,7 +35,6 @@
/* global pointer to the gsm network data structure */
extern struct gsm_network *bsc_gsmnet;
-extern int ipacc_rtp_direct;
static void patch_nm_tables(struct gsm_bts *bts);
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index 22713167..2985d385 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -57,8 +57,6 @@
void *tall_locop_ctx;
-extern int ipacc_rtp_direct;
-
static const struct tlv_definition rsl_att_tlvdef = {
.def = {
[GSM48_IE_MOBILE_ID] = { TLV_TYPE_TLV },