mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-19 13:40:43 +02:00
libnm/crypto: suppress "-Wstrict-prototypes" warning in NSS library
On Debian sid, libnss3-dev (2:3.53-1) causes a compiler warning:
In file included from ../libnm-core/nm-crypto-nss.c:13:
/usr/include/nss/pk11pub.h:951:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
951 | int SECMOD_GetSystemFIPSEnabled();
| ^~~
This commit is contained in:
parent
65b6fc7871
commit
c9b36b1370
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "nm-crypto-impl.h"
|
||||
|
||||
NM_PRAGMA_WARNING_DISABLE ("-Wstrict-prototypes")
|
||||
#include <prinit.h>
|
||||
#include <nss.h>
|
||||
#include <pk11pub.h>
|
||||
|
|
@ -17,6 +18,7 @@
|
|||
#include <p12.h>
|
||||
#include <ciferfam.h>
|
||||
#include <p12plcy.h>
|
||||
NM_PRAGMA_WARNING_REENABLE
|
||||
|
||||
#include "nm-glib-aux/nm-secret-utils.h"
|
||||
#include "nm-errors.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue