aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-12-19 16:18:44 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-12-19 16:18:44 +0100
commitc751cf92cbc25a5cfca8041ef3fdcc16ed5865ad (patch)
tree659ab5d56d8a243adcf66d637fddcd9b06c6ac56
parent408208d8874a0f227d09e299db2346fc3f67b5ca (diff)
misc: Fix compilation now that the method is located in libosmocore
These TLV helper functions are now located in libosmocore.
-rw-r--r--openbsc/configure.ac2
-rw-r--r--openbsc/src/gprs/gb_proxy.c7
2 files changed, 1 insertions, 8 deletions
diff --git a/openbsc/configure.ac b/openbsc/configure.ac
index b56254c46..1bb660fab 100644
--- a/openbsc/configure.ac
+++ b/openbsc/configure.ac
@@ -53,7 +53,7 @@ AC_ARG_ENABLE([smpp], [AS_HELP_STRING([--enable-smpp], [Build the SMPP interface
AM_CONDITIONAL(BUILD_SMPP, test "x$osmo_ac_build_smpp" = "xyes")
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.2)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.5.3.60)
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.0)
PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.1.0)
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index 69dde3d77..b99c455e2 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -39,13 +39,6 @@
#include <openbsc/debug.h>
#include <openbsc/gb_proxy.h>
-static uint16_t tlvp_val16_unal(const struct tlv_parsed *tp, int pos)
-{
- uint16_t res;
- memcpy(&res, TLVP_VAL(tp, pos), sizeof(res));
- return res;
-}
-
struct gbprox_peer {
struct llist_head list;