summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2021-10-04 13:02:35 +0200
committerStefan Metzmacher <metze@samba.org>2021-10-25 12:13:16 +0000
commitf901e3dc08c0311eaf47171570f1ac25bd1dfbbd (patch)
tree79dafe9c774da780ab58a68ffb7bdca3ba40b055
parent28630a31be8a56a1a94c56cfa3d192387bea01e5 (diff)
downloadsamba-f901e3dc08c0311eaf47171570f1ac25bd1dfbbd.tar.gz
waf: Allow building with MIT KRB5 >= 1.20
gssrpc/xdr.h:105:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] 105 | typedef bool_t (*xdrproc_t)(); | ^~~~~~~ This can't be fixed, as the protoype is variadic. It can take up to three arguments. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14870 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 5d8e794551b5df835f07e2bd8348fef746144601)
-rw-r--r--source4/kdc/wscript_build1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/kdc/wscript_build b/source4/kdc/wscript_build
index c1f9a478582..0edca94e75f 100644
--- a/source4/kdc/wscript_build
+++ b/source4/kdc/wscript_build
@@ -29,6 +29,7 @@ if bld.CONFIG_SET('SAMBA4_USES_HEIMDAL'):
if bld.CONFIG_GET('SAMBA_USES_MITKDC'):
bld.SAMBA_MODULE('service_kdc',
source='kdc-service-mit.c',
+ cflags_end='-Wno-strict-prototypes',
subsystem='service',
init_function='server_service_mitkdc_init',
deps='''