summaryrefslogtreecommitdiffstats
path: root/inc/abrtlib.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-31 15:02:53 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-31 15:02:53 +0200
commit36d30c955b6e8cc8ab576ce5fcb8d1dd8e7c043b (patch)
treeac03dbbfc509a97572c842602b76d33ecf957b62 /inc/abrtlib.h
parent919f52da59965f2493ca94ffb5bd11c7ef6835f9 (diff)
downloadabrt-36d30c955b6e8cc8ab576ce5fcb8d1dd8e7c043b.tar.gz
abrt-36d30c955b6e8cc8ab576ce5fcb8d1dd8e7c043b.tar.xz
abrt-36d30c955b6e8cc8ab576ce5fcb8d1dd8e7c043b.zip
KerneloopsReporter: plug a leak in writefunction
Also some preparatory cleanups for future dumpoops patch are included Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'inc/abrtlib.h')
-rw-r--r--inc/abrtlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h
index 82ad3443..ae86a66b 100644
--- a/inc/abrtlib.h
+++ b/inc/abrtlib.h
@@ -3,6 +3,9 @@
*
* Licensed under GPLv2, see file COPYING in this tarball for details.
*/
+#ifndef ABRTLIB_H_
+#define ABRTLIB_H_
+
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
@@ -100,3 +103,5 @@ void xstat(const char *name, struct stat *stat_buf);
void xmove_fd(int from, int to);
char* xasprintf(const char *format, ...);
+
+#endif