aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocore
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocore')
-rw-r--r--include/osmocore/logging.h1
-rw-r--r--include/osmocore/utils.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocore/logging.h b/include/osmocore/logging.h
index 7f33155a..27e77341 100644
--- a/include/osmocore/logging.h
+++ b/include/osmocore/logging.h
@@ -19,7 +19,6 @@
#define DEBUGPC(ss, fmt, args...)
#endif
-#define static_assert(exp, name) typedef int dummy##name [(exp) ? 1 : -1];
void logp(unsigned int subsys, char *file, int line, int cont, const char *format, ...) __attribute__ ((format (printf, 5, 6)));
diff --git a/include/osmocore/utils.h b/include/osmocore/utils.h
index 3574f7f8..93cefbe6 100644
--- a/include/osmocore/utils.h
+++ b/include/osmocore/utils.h
@@ -21,4 +21,6 @@ int hexparse(const char *str, uint8_t *b, int max_len);
char *hexdump(const unsigned char *buf, int len);
char *hexdump_nospc(const unsigned char *buf, int len);
+#define static_assert(exp, name) typedef int dummy##name [(exp) ? 1 : -1];
+
#endif