summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-11 10:05:12 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-11 10:12:44 +0200
commitfa270b9d5bd18c65efbedde9d3a73859df3c28c6 (patch)
tree892e973006408cbb8d4d6e9d4f5b8f21104199b9
parentaf0867882d5302f5f356aedf55524315624c5071 (diff)
[gprs] BSSGP: cosmetic cleanup
-rw-r--r--openbsc/src/gprs/gprs_bssgp.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/openbsc/src/gprs/gprs_bssgp.c b/openbsc/src/gprs/gprs_bssgp.c
index b2f29285..9fdfd329 100644
--- a/openbsc/src/gprs/gprs_bssgp.c
+++ b/openbsc/src/gprs/gprs_bssgp.c
@@ -36,15 +36,8 @@
#include <openbsc/gprs_llc.h>
#include <openbsc/gprs_ns.h>
-/* global pointer to the gsm network data structure */
-/* FIXME: this must go! */
-extern struct gsm_network *bsc_gsmnet;
-
void *bssgp_tall_ctx = NULL;
-
-/* Our actual implementation */
-
#define BVC_F_BLOCKED 0x0001
/* The per-BTS context that we keep on the SGSN side of the BSSGP link */
@@ -66,7 +59,7 @@ struct bssgp_bts_ctx {
* lookup for every packet, similar to a routing cache */
//struct gprs_nsvc *nsvc;
};
-LLIST_HEAD(bts_ctxts);
+static LLIST_HEAD(bts_ctxts);
/* Find a BTS Context based on parsed RA ID and Cell ID */
struct bssgp_bts_ctx *btsctx_by_raid_cid(const struct gprs_ra_id *raid, uint16_t cid)
@@ -93,7 +86,7 @@ struct bssgp_bts_ctx *btsctx_by_bvci_nsei(uint16_t bvci, uint16_t nsei)
return NULL;
}
-struct bssgp_btx_ctx *btsctx_alloc(uint16_t bvci, uint16_t nsei)
+struct bssgp_bts_ctx *btsctx_alloc(uint16_t bvci, uint16_t nsei)
{
struct bssgp_bts_ctx *ctx;