Blame SOURCES/0013-Correct-includes-for-ABRT.patch

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