From 36d30c955b6e8cc8ab576ce5fcb8d1dd8e7c043b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 31 Jul 2009 15:02:53 +0200 Subject: KerneloopsReporter: plug a leak in writefunction Also some preparatory cleanups for future dumpoops patch are included Signed-off-by: Denys Vlasenko --- inc/abrtlib.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'inc') 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 #include #include @@ -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 -- cgit