diff options
author | Thomas Haller <thaller@redhat.com> | 2014-10-31 20:49:33 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-10-31 21:02:42 +0100 |
commit | b63f8c80f867ad78367430ece60006a134ada140 (patch) | |
tree | 9b21fb1f1be84be90fc1fce0b66786978de7b9d2 | |
parent | e2179f091105e4086338739ab9d2fbe36a367ab6 (diff) | |
download | NetworkManager-b63f8c80f867ad78367430ece60006a134ada140.tar.gz |
wimax/build: use NM_PRAGMA_WARNING_DISABLE() macro instead of #pragma
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r-- | src/devices/wimax/nm-wimax-util.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/devices/wimax/nm-wimax-util.h b/src/devices/wimax/nm-wimax-util.h index 3652123f4b..a1852d553f 100644 --- a/src/devices/wimax/nm-wimax-util.h +++ b/src/devices/wimax/nm-wimax-util.h @@ -23,12 +23,11 @@ #include <glib.h> -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstrict-prototypes" +#include "nm-utils-internal.h" +NM_PRAGMA_WARNING_DISABLE("-Wstrict-prototypes") #include <WiMaxType.h> - -#pragma GCC diagnostic pop +NM_PRAGMA_WARNING_REENABLE #include <WiMaxError.h> #include "nm-wimax-types.h" |