diff options
author | Noel Power <noel.power@suse.com> | 2019-05-02 19:45:14 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-05-16 17:55:17 +0000 |
commit | a7d75a1c57befee4a178b7061ea218e353a72195 (patch) | |
tree | 45d349384f33d4ec8c624fd3d40daf4535d4a03f /auth | |
parent | cea41645fb463b026bb7161b524ba732ba0d14e3 (diff) | |
download | samba-a7d75a1c57befee4a178b7061ea218e353a72195.tar.gz |
s4: 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
+ ensure PyCFunctions of type METH_KEYWORDS use PY_DISCARD_FUNC_SIG
macro
+ ensure PyCFunctions of type METH_KEYWORDS really actually use the
problematic kargs param, if not remove it
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'auth')
0 files changed, 0 insertions, 0 deletions