From 52c07ca6c5708e4b20d8a6b6f40d09f74fef43ba Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 Jan 2011 17:37:27 +0100 Subject: misc: Move the static_assert from logging to the utils This is just an ordinary macro, no specific reason to have it in logging.h. This was compile tested with code from our osmo family. --- include/osmocore/logging.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/osmocore/logging.h') 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))); -- cgit v1.2.3