9d8306
From c8951a1173327241be8d518b317498b25241b5af Mon Sep 17 00:00:00 2001
9d8306
From: Jakub Filak <jfilak@redhat.com>
9d8306
Date: Mon, 15 Feb 2016 07:16:02 +0100
9d8306
Subject: [PATCH] Correct includes for ABRT
9d8306
9d8306
The libabrt.h file includes all libreport include files and the file
9d8306
belongs to ABRT.
9d8306
9d8306
"-pedantic" cannot be disabled through pragma any more.
9d8306
9d8306
Signed-off-by: Jakub Filak <jfilak@redhat.com>
9d8306
---
9d8306
 src/internal_libabrt.h | 10 +---------
9d8306
 1 file changed, 1 insertion(+), 9 deletions(-)
9d8306
9d8306
diff --git a/src/internal_libabrt.h b/src/internal_libabrt.h
9d8306
index e40d642..527a90c 100644
9d8306
--- a/src/internal_libabrt.h
9d8306
+++ b/src/internal_libabrt.h
9d8306
@@ -22,15 +22,7 @@
9d8306
  * Wrapper header for all ABRT includes
9d8306
  */
9d8306
 
9d8306
-/* libreport include file */
9d8306
-#pragma GCC diagnostic push
9d8306
-#pragma GCC diagnostic ignored "-pedantic"
9d8306
+/* abrt include files */
9d8306
 #include <libabrt.h>
9d8306
-#include <internal_libreport.h>
9d8306
-#pragma GCC diagnostic pop
9d8306
-
9d8306
-#include <problem_data.h>
9d8306
-
9d8306
-/* ABRT is not necessary now */
9d8306
 
9d8306
 #endif /* __INTERNAL_LIBABRT_H */
9d8306
-- 
9d8306
2.7.1
9d8306