diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-18 15:17:25 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-18 15:17:29 +0100 |
commit | c3533aaebfe3fcbcc2b506fa2f0d93104bab146a (patch) | |
tree | bed1398a3c8ea423c8cf65290ee4873ae64eeb14 /openbsc | |
parent | 01ddd10c5a59aedd8fbc9930e860331981862c90 (diff) |
cosmetic: move gsm_subscriber_base.c to libcommon-csneels/libcommon-cs
Change-Id: I5c5c29baa56c6a294ea7091b51d6444fd967021e
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/ipaccess/ipaccess-proxy.c | 3 | ||||
-rw-r--r-- | openbsc/src/libcommon-cs/Makefile.am | 1 | ||||
-rw-r--r-- | openbsc/src/libcommon-cs/gsm_subscriber_base.c (renamed from openbsc/src/libcommon/gsm_subscriber_base.c) | 0 | ||||
-rw-r--r-- | openbsc/src/libcommon/Makefile.am | 1 | ||||
-rw-r--r-- | openbsc/src/osmo-bsc_mgcp/Makefile.am | 1 | ||||
-rw-r--r-- | openbsc/src/utils/Makefile.am | 1 | ||||
-rw-r--r-- | openbsc/tests/bsc-nat-trie/Makefile.am | 1 | ||||
-rw-r--r-- | openbsc/tests/mgcp/mgcp_test.c | 3 | ||||
-rw-r--r-- | openbsc/tests/mm_auth/Makefile.am | 1 | ||||
-rw-r--r-- | openbsc/tests/smpp/Makefile.am | 1 | ||||
-rw-r--r-- | openbsc/tests/subscr/Makefile.am | 2 |
11 files changed, 13 insertions, 2 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-proxy.c b/openbsc/src/ipaccess/ipaccess-proxy.c index 9e8ec88e3..0039b573e 100644 --- a/openbsc/src/ipaccess/ipaccess-proxy.c +++ b/openbsc/src/ipaccess/ipaccess-proxy.c @@ -1225,3 +1225,6 @@ int main(int argc, char **argv) osmo_select_main(0); } } + +struct gsm_subscriber *subscr_get(struct gsm_subscriber *subscr) { return subscr; } +struct gsm_subscriber *subscr_put(struct gsm_subscriber *subscr) { return NULL; } diff --git a/openbsc/src/libcommon-cs/Makefile.am b/openbsc/src/libcommon-cs/Makefile.am index d4c9740d8..616df282b 100644 --- a/openbsc/src/libcommon-cs/Makefile.am +++ b/openbsc/src/libcommon-cs/Makefile.am @@ -20,4 +20,5 @@ libcommon_cs_a_SOURCES = \ common_cs_vty.c \ gsm_data.c \ gsm_data_shared.c \ + gsm_subscriber_base.c \ $(NULL) diff --git a/openbsc/src/libcommon/gsm_subscriber_base.c b/openbsc/src/libcommon-cs/gsm_subscriber_base.c index 1ecdee5a5..1ecdee5a5 100644 --- a/openbsc/src/libcommon/gsm_subscriber_base.c +++ b/openbsc/src/libcommon-cs/gsm_subscriber_base.c diff --git a/openbsc/src/libcommon/Makefile.am b/openbsc/src/libcommon/Makefile.am index 714612ff1..5ac674b5c 100644 --- a/openbsc/src/libcommon/Makefile.am +++ b/openbsc/src/libcommon/Makefile.am @@ -26,7 +26,6 @@ libcommon_a_SOURCES = \ socket.c \ talloc_ctx.c \ tall_bsc_ctx.c \ - gsm_subscriber_base.c \ $(NULL) noinst_PROGRAMS = \ diff --git a/openbsc/src/osmo-bsc_mgcp/Makefile.am b/openbsc/src/osmo-bsc_mgcp/Makefile.am index a19a4ebc0..ecd5e910c 100644 --- a/openbsc/src/osmo-bsc_mgcp/Makefile.am +++ b/openbsc/src/osmo-bsc_mgcp/Makefile.am @@ -24,6 +24,7 @@ osmo_bsc_mgcp_SOURCES = \ osmo_bsc_mgcp_LDADD = \ $(top_builddir)/src/libcommon/libcommon.a \ + $(top_builddir)/src/libcommon-cs/libcommon-cs.a \ $(top_builddir)/src/libmgcp/libmgcp.a \ $(LIBOSMOVTY_LIBS) \ $(LIBOSMOCORE_LIBS) \ diff --git a/openbsc/src/utils/Makefile.am b/openbsc/src/utils/Makefile.am index ceef708ed..5314da5fb 100644 --- a/openbsc/src/utils/Makefile.am +++ b/openbsc/src/utils/Makefile.am @@ -69,6 +69,7 @@ smpp_mirror_SOURCES = \ smpp_mirror_LDADD = \ $(top_builddir)/src/libcommon/libcommon.a \ + $(top_builddir)/src/libcommon-cs/libcommon-cs.a \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ $(LIBSMPP34_LIBS) \ diff --git a/openbsc/tests/bsc-nat-trie/Makefile.am b/openbsc/tests/bsc-nat-trie/Makefile.am index cf8ebaf20..bf962d10e 100644 --- a/openbsc/tests/bsc-nat-trie/Makefile.am +++ b/openbsc/tests/bsc-nat-trie/Makefile.am @@ -12,6 +12,7 @@ bsc_nat_trie_test_LDADD = $(top_builddir)/src/libbsc/libbsc.a \ $(top_builddir)/src/libmgcp/libmgcp.a \ $(top_builddir)/src/libtrau/libtrau.a \ $(top_builddir)/src/libcommon/libcommon.a \ + $(top_builddir)/src/libcommon-cs/libcommon-cs.a \ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) -lrt \ $(LIBOSMOSCCP_LIBS) $(LIBOSMOVTY_LIBS) \ $(LIBOSMOABIS_LIBS) diff --git a/openbsc/tests/mgcp/mgcp_test.c b/openbsc/tests/mgcp/mgcp_test.c index b2d237ef5..45899358a 100644 --- a/openbsc/tests/mgcp/mgcp_test.c +++ b/openbsc/tests/mgcp/mgcp_test.c @@ -1225,3 +1225,6 @@ int main(int argc, char **argv) printf("Done\n"); return EXIT_SUCCESS; } + +struct gsm_subscriber *subscr_get(struct gsm_subscriber *subscr) { return subscr; } +struct gsm_subscriber *subscr_put(struct gsm_subscriber *subscr) { return NULL; } diff --git a/openbsc/tests/mm_auth/Makefile.am b/openbsc/tests/mm_auth/Makefile.am index cb351988b..fe45f8233 100644 --- a/openbsc/tests/mm_auth/Makefile.am +++ b/openbsc/tests/mm_auth/Makefile.am @@ -32,6 +32,7 @@ mm_auth_test_LDFLAGS = \ mm_auth_test_LDADD = \ $(top_builddir)/src/libmsc/libmsc.a \ $(top_builddir)/src/libcommon/libcommon.a \ + $(top_builddir)/src/libcommon-cs/libcommon-cs.a \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ $(NULL) diff --git a/openbsc/tests/smpp/Makefile.am b/openbsc/tests/smpp/Makefile.am index 508270753..a48af0081 100644 --- a/openbsc/tests/smpp/Makefile.am +++ b/openbsc/tests/smpp/Makefile.am @@ -35,6 +35,7 @@ smpp_test_SOURCES = \ smpp_test_LDADD = \ $(top_builddir)/src/libcommon/libcommon.a \ + $(top_builddir)/src/libcommon-cs/libcommon-cs.a \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ $(NULL) diff --git a/openbsc/tests/subscr/Makefile.am b/openbsc/tests/subscr/Makefile.am index 6342444ff..bcc56a028 100644 --- a/openbsc/tests/subscr/Makefile.am +++ b/openbsc/tests/subscr/Makefile.am @@ -50,9 +50,9 @@ bsc_subscr_test_SOURCES = \ bsc_subscr_test_LDADD = \ $(top_builddir)/src/libbsc/libbsc.a \ - $(top_builddir)/src/libcommon-cs/libcommon-cs.a \ $(top_builddir)/src/libtrau/libtrau.a \ $(top_builddir)/src/libcommon/libcommon.a \ + $(top_builddir)/src/libcommon-cs/libcommon-cs.a \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOABIS_LIBS) \ $(LIBOSMOGSM_LIBS) \ |