lib/talloc: squash 'cast between incompatible function types' warning
authorNoel Power <noel.power@suse.com>
Thu, 2 May 2019 18:49:27 +0000 (19:49 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 16 May 2019 17:55:17 +0000 (17:55 +0000)
commit995e23f1178d4207b9e13341577f26cd509d0892
tree76725d74023c7ab2cbec7a6ab0c2779b569b19d2
parentd93ec5445b58fdc921fe37c722af0966c7efc0de
lib/talloc: squash 'cast between incompatible function types' warning

To avoid warning above produced by using
-Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/talloc/pytalloc.c
lib/talloc/test_pytalloc.c