gprs: Fix compiler warnings in the code
This commit is contained in:
parent
2b17454f4a
commit
6142dc407a
|
@ -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 */
|
/* treat all outstanding SNDCP-LLC request type primitives as not sent */
|
||||||
/* reset all SNDCP XID parameters to default values */
|
/* reset all SNDCP XID parameters to default values */
|
||||||
|
LOGP(DSNDCP, LOGL_NOTICE, "not implemented.\n");
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int sndcp_ll_status_ind()
|
static int sndcp_ll_status_ind()
|
||||||
{
|
{
|
||||||
/* inform the SM sub-layer by means of SNSM-STATUS.req */
|
/* inform the SM sub-layer by means of SNSM-STATUS.req */
|
||||||
|
LOGP(DSNDCP, LOGL_NOTICE, "not implemented.\n");
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
#include <osmocom/core/select.h>
|
#include <osmocom/core/select.h>
|
||||||
#include <osmocom/core/rate_ctr.h>
|
#include <osmocom/core/rate_ctr.h>
|
||||||
#include <osmocom/core/logging.h>
|
#include <osmocom/core/logging.h>
|
||||||
#include <osmocom/core/process.h>
|
|
||||||
|
|
||||||
#include <osmocom/vty/telnet_interface.h>
|
#include <osmocom/vty/telnet_interface.h>
|
||||||
#include <osmocom/vty/logging.h>
|
#include <osmocom/vty/logging.h>
|
||||||
|
@ -201,7 +200,6 @@ static void handle_options(int argc, char **argv)
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
struct gsm_network dummy_network;
|
struct gsm_network dummy_network;
|
||||||
struct sockaddr_in sin;
|
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
tall_bsc_ctx = talloc_named_const(NULL, 0, "osmo_sgsn");
|
tall_bsc_ctx = talloc_named_const(NULL, 0, "osmo_sgsn");
|
||||||
|
|
Loading…
Reference in New Issue