mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-03 00:47:59 +02:00
wimax/build: use NM_PRAGMA_WARNING_DISABLE() macro instead of #pragma
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
e2179f0911
commit
b63f8c80f8
1 changed files with 3 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue