chiark / gitweb /
network/link: Match - filter on kernel cmdline, host and virt
[elogind.git] / src / shared / macro.h
index 458e0ebed30bf6566bb1aac223d89f5c5cb42b9c..5fd67c7abacde424a529e390d4ccff91f2ab5a39 100644 (file)
         _Pragma("GCC diagnostic push");                                 \
         _Pragma("GCC diagnostic ignored \"-Wmissing-prototypes\"")
 
+#define DISABLE_WARNING_NONNULL                                         \
+        _Pragma("GCC diagnostic push");                                 \
+        _Pragma("GCC diagnostic ignored \"-Wnonnull\"")
+
 #define REENABLE_WARNING                                                \
         _Pragma("GCC diagnostic pop")