From 120250ad6fe8d2b641b716d5b37d48b125db23ca Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Tue, 20 Jan 2015 09:25:43 +0100 Subject: 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 --- openbsc/src/gprs/gb_proxy_main.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'openbsc') 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 -- cgit v1.2.3