summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-08 13:38:50 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-08 13:38:50 +0100
commit94b1d40a72f55b787fa78a9398f47eb8514e0d21 (patch)
tree9e56bf0c03356571fae068345dbf637e5631ac08 /inc
parent42dd1794caf6de8d7e1e77ce7cafad80400d4175 (diff)
downloadabrt-94b1d40a72f55b787fa78a9398f47eb8514e0d21.tar.gz
abrt-94b1d40a72f55b787fa78a9398f47eb8514e0d21.tar.xz
abrt-94b1d40a72f55b787fa78a9398f47eb8514e0d21.zip
make "reason" field less verbose; bz reporter: include it in "summary"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'inc')
-rw-r--r--inc/abrtlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h
index 443c372..97aa28b 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,