summaryrefslogtreecommitdiff
path: root/src/libudev/macro.h
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-02-21 12:11:59 -0500
committerAnthony G. Basile <blueness@gentoo.org>2014-02-21 12:11:59 -0500
commit153929b11e2d1545d61fdfe85dec5e7883679f3e (patch)
tree60053440ea0e5990aa677e8c636ea0e8b5873ef3 /src/libudev/macro.h
parent306c786fdcca7e75268ed9903367b0fd32db5502 (diff)
Add missing REENABLE_WARNING and unlink_noerrno()
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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)