diff options
authorJacob Erlbeck <>2015-01-20 09:25:43 +0100
committerJacob Erlbeck <>2015-01-20 11:41:58 +0100
commit3688abb0b24bf5065f5f8fdf3bac6442cb87812a (patch)
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
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>