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