lib/crypto: squash 'cast between incompatible function types' warning
authorNoel Power <noel.power@suse.com>
Thu, 2 May 2019 18:51:56 +0000 (19:51 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 16 May 2019 17:55:17 +0000 (17:55 +0000)
commit16cf1d1a531896c7cd2fb96a72d1e630b13e012f
tree53f68f99d6da46e4a0600a5652306ac78fc46529
parent70a140646e8f98662721f9e4466a6642b6180a93
lib/crypto: squash 'cast between incompatible function types' warning

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

      + ensure PyCFunctions of type METH_VARARGS do not declare
        unused and problematic kargs param.

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