From 6142dc407ac0b4f10087fcf385f2546ffe0f5d16 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 14 Oct 2011 23:37:27 +0200 Subject: gprs: Fix compiler warnings in the code --- openbsc/src/gprs/gprs_sndcp.c | 4 ++++ openbsc/src/gprs/sgsn_main.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/openbsc/src/gprs/gprs_sndcp.c b/openbsc/src/gprs/gprs_sndcp.c index 1307fe548..3e260abec 100644 --- a/openbsc/src/gprs/gprs_sndcp.c +++ b/openbsc/src/gprs/gprs_sndcp.c @@ -566,11 +566,15 @@ static int sndcp_ll_reset_ind(struct gprs_sndcp_entity *se) { /* treat all outstanding SNDCP-LLC request type primitives as not sent */ /* reset all SNDCP XID parameters to default values */ + LOGP(DSNDCP, LOGL_NOTICE, "not implemented.\n"); + return 0; } static int sndcp_ll_status_ind() { /* inform the SM sub-layer by means of SNSM-STATUS.req */ + LOGP(DSNDCP, LOGL_NOTICE, "not implemented.\n"); + return 0; } #if 0 diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c index 93ad33adb..95922fc15 100644 --- a/openbsc/src/gprs/sgsn_main.c +++ b/openbsc/src/gprs/sgsn_main.c @@ -37,7 +37,6 @@ #include #include #include -#include #include #include @@ -201,7 +200,6 @@ static void handle_options(int argc, char **argv) int main(int argc, char **argv) { struct gsm_network dummy_network; - struct sockaddr_in sin; int rc; tall_bsc_ctx = talloc_named_const(NULL, 0, "osmo_sgsn"); -- cgit v1.2.3