summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-05-08 08:51:28 +0200
committerHarald Welte <laforge@gnumonks.org>2011-05-08 09:43:49 +0200
commitd35a3079df9501a36062d44b460f3fe2bec20032 (patch)
tree2844391f0432176e57368c884414521ad4541aef
parent2d97000f98d5c80aebb72ea601f0cefb3350a914 (diff)
namespace: use osmo_static_assert() instead of static_assert()
-rw-r--r--configure.ac2
-rw-r--r--src/sccp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c650158..41495fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@ AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_RANLIB
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.2.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.0)
# The following test is taken from WebKit's webkit.m4
saved_CFLAGS="$CFLAGS"
diff --git a/src/sccp.c b/src/sccp.c
index 0b3e3d2..2556e16 100644
--- a/src/sccp.c
+++ b/src/sccp.c
@@ -1366,7 +1366,7 @@ int sccp_set_read(const struct sockaddr_sccp *sock,
return 0;
}
-static_assert(sizeof(struct sccp_source_reference) <= sizeof(uint32_t), enough_space);
+osmo_static_assert(sizeof(struct sccp_source_reference) <= sizeof(uint32_t), enough_space);
uint32_t sccp_src_ref_to_int(struct sccp_source_reference *ref)
{