summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-10-14 23:37:27 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-10-14 23:37:27 +0200
commit6142dc407ac0b4f10087fcf385f2546ffe0f5d16 (patch)
tree7d066812bd11a248d4c66cce8f63725a23919d42
parent2b17454f4a78ecee53d93d7ba4c98be34c0707c4 (diff)
gprs: Fix compiler warnings in the code
-rw-r--r--openbsc/src/gprs/gprs_sndcp.c4
-rw-r--r--openbsc/src/gprs/sgsn_main.c2
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 <osmocom/core/select.h>
#include <osmocom/core/rate_ctr.h>
#include <osmocom/core/logging.h>
-#include <osmocom/core/process.h>
#include <osmocom/vty/telnet_interface.h>
#include <osmocom/vty/logging.h>
@@ -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");