[gprs] BSSGP: cosmetic cleanup

This commit is contained in:
Harald Welte 2010-05-11 10:05:12 +02:00
parent af0867882d
commit fa270b9d5b
1 changed files with 2 additions and 9 deletions

View File

@ -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;