aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-01-20 09:25:43 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-01-27 08:35:18 +0100
commit120250ad6fe8d2b641b716d5b37d48b125db23ca (patch)
tree77bce4e894cb3db26afffbbaf31347bc39d33f73
parent306bb993aab07f115ff6cbc89d81f862e08f7c32 (diff)
gbproxy: Remove dummy definition of subscr_put
The definition of subscr_put in gb_proxy_main.c will break linking if symbols from libcommon are used. Since subscr_put is in libcommon, there is no need for this dummy definition anymore. This patch removes the dummy definition. Adresses: ../../src/libcommon/libcommon.a(gsm_subscriber_base.o): In function `subscr_put': /home/jerlbeck/git/build/openbsc/openbsc/src/libcommon/gsm_subscriber_base.c:90: multiple definition of `subscr_put' gb_proxy_main.o:/home/jerlbeck/git/build/openbsc/openbsc/src/gprs/gb_proxy_main.c:56: first defined here Sponsored-by: On-Waves ehf
-rw-r--r--openbsc/src/gprs/gb_proxy_main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/openbsc/src/gprs/gb_proxy_main.c b/openbsc/src/gprs/gb_proxy_main.c
index a06e1e655..3da0abed2 100644
--- a/openbsc/src/gprs/gb_proxy_main.c
+++ b/openbsc/src/gprs/gb_proxy_main.c
@@ -52,9 +52,6 @@
#include "../../bscconfig.h"
-/* this is here for the vty... it will never be called */
-void subscr_put() { abort(); }
-
#define _GNU_SOURCE
#include <getopt.h>