waf: Allow building with MIT KRB5 >= 1.20
commitc9e54bbe242f4040758ef6c35a83de23fdb5c05e
authorAndreas Schneider <asn@samba.org>
Mon, 4 Oct 2021 11:02:35 +0000 (4 13:02 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Oct 2021 22:37:10 +0000 (27 22:37 +0000)
treecd2811051420551f995804eb4e3aeda6693fa087
parentf01e4e19cf67ae9bcb939cdaacab78fac74fb56c
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
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14881

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 5d8e794551b5df835f07e2bd8348fef746144601)
source4/kdc/wscript_build