wimax/build: use NM_PRAGMA_WARNING_DISABLE() macro instead of #pragma

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2014-10-31 20:49:33 +01:00
parent e2179f0911
commit b63f8c80f8

View file

@ -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"