summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-01-20 09:25:43 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-01-20 11:41:58 +0100
commit3688abb0b24bf5065f5f8fdf3bac6442cb87812a (patch)
treed2108f6581f3144b50181b09e3b114465d1d4d55
parent8d7aaa590e9b952eef001ba01150e8e58c7debd2 (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 needs to be fixed to apply 'Revert "libgb/gprs: don't use log_info...'. 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 c 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 03299df95..15e72f8db 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>