aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-08-03 09:59:20 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-08-03 10:08:02 +0200
commitd296f4244f90ac2eab1eb2cf3d7203f81415c103 (patch)
treedd063bb97e500c6f20972a958ddbfaf7065e83c7
parent5a19bf7ccbb5ca4f69ff7889d6ed253cf970a2bd (diff)
gb: Make suspend_ref a plain uint8_t instead of a uint8_t*
The OpenSUSE build is not happy about the uint8_t to uint8_t* assignment. As the suspend_ref is a mandatory field we can make it a plain uint8_t. Increase the LIBVERSION as the ABI has changed.
-rw-r--r--include/osmocom/gprs/gprs_bssgp.h2
-rw-r--r--src/gb/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/gprs/gprs_bssgp.h b/include/osmocom/gprs/gprs_bssgp.h
index 949dbdc8..8ca42bf9 100644
--- a/include/osmocom/gprs/gprs_bssgp.h
+++ b/include/osmocom/gprs/gprs_bssgp.h
@@ -47,7 +47,7 @@ struct osmo_bssgp_prim {
/* specific fields */
union {
struct {
- uint8_t *suspend_ref;
+ uint8_t suspend_ref;
} resume;
} u;
};
diff --git a/src/gb/Makefile.am b/src/gb/Makefile.am
index f6c69e0c..9d1b7862 100644
--- a/src/gb/Makefile.am
+++ b/src/gb/Makefile.am
@@ -1,6 +1,6 @@
# This is _NOT_ the library release version, it's an API version.
# Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification
-LIBVERSION=1:0:0
+LIBVERSION=2:0:0
INCLUDES = $(all_includes) -I$(top_srcdir)/include
AM_CFLAGS = -Wall ${GCC_FVISIBILITY_HIDDEN}