aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gprs_ns.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-23 21:18:01 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-23 21:18:01 +0800
commit83e0b3f544b0540801cb4d86c6b84a4ff778ceac (patch)
tree9994a8ea58d4e477330268ba5a2cbd2d56732558 /openbsc/include/openbsc/gprs_ns.h
parent9e28ecc325e6f57f9f7f261ff76262b5bb062e45 (diff)
gprs: Fix warnings on funny casts for the return statement
Change gprs_nsvc_reset to return void instead of a int as the gb_proxy.c currently ignores the reutnr value anyway. Change the caller inside gprs_ns to return the newly allocated nsvc instead of the return of gprs_nsvc_reset.
Diffstat (limited to 'openbsc/include/openbsc/gprs_ns.h')
-rw-r--r--openbsc/include/openbsc/gprs_ns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gprs_ns.h b/openbsc/include/openbsc/gprs_ns.h
index 03603bc82..8b5e7dc31 100644
--- a/openbsc/include/openbsc/gprs_ns.h
+++ b/openbsc/include/openbsc/gprs_ns.h
@@ -217,7 +217,7 @@ struct gprs_nsvc *nsvc_by_nsei(struct gprs_ns_inst *nsi, uint16_t nsei);
struct gprs_nsvc *nsvc_by_nsvci(struct gprs_ns_inst *nsi, uint16_t nsvci);
/* Initiate a RESET procedure (including timer start, ...)*/
-int gprs_nsvc_reset(struct gprs_nsvc *nsvc, uint8_t cause);
+void gprs_nsvc_reset(struct gprs_nsvc *nsvc, uint8_t cause);
/* Add NS-specific VTY stuff */
int gprs_ns_vty_init(struct gprs_ns_inst *nsi);