lib/ldb-samba: squash 'cast between incompatible function types' warning
authorNoel Power <noel.power@suse.com>
Thu, 2 May 2019 18:51:34 +0000 (19:51 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 16 May 2019 17:55:17 +0000 (17:55 +0000)
commit70a140646e8f98662721f9e4466a6642b6180a93
tree42b2027733b333a2b4dcd7ae05d87d3643ae51a0
parent27d99eefe7676669343b9040f550480df6554a6e
lib/ldb-samba: 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/ldb-samba/pyldb.c