summaryrefslogtreecommitdiff
path: root/src/libudev/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/macro.h')
-rw-r--r--src/libudev/macro.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libudev/macro.h b/src/libudev/macro.h
index 088fcd2640..ac2a23f6aa 100644
--- a/src/libudev/macro.h
+++ b/src/libudev/macro.h
@@ -44,6 +44,9 @@
_Pragma("GCC diagnostic push"); \
_Pragma("GCC diagnostic ignored \"-Wformat-nonliteral\"")
+#define REENABLE_WARNING \
+ _Pragma("GCC diagnostic pop")
+
/* Rounds up */
#define ALIGN4(l) (((l) + 3) & ~3)