diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/abrtlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h index 443c3725..97aa28b8 100644 --- a/inc/abrtlib.h +++ b/inc/abrtlib.h @@ -52,6 +52,9 @@ int vdprintf(int d, const char *format, va_list ap); #define NORETURN __attribute__ ((noreturn)) +#define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0]))) + + /* Logging */ enum { LOGMODE_NONE = 0, |