1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source4/param
Noel Power a7d75a1c57 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>
2019-05-16 17:55:17 +00:00
..
tests Avoid including libds/common/roles.h in public loadparm.h header. 2016-01-13 04:43:23 +01:00
loadparm.c libcli/smb: add max_credits arg to smbXcli_negprot_send() 2017-03-03 21:55:27 +01:00
provision.c s4/param: Fix provision_get_schema leaking python object 2019-02-21 04:09:19 +01:00
provision.h s4-provision: pass use_ntvfs from C wrappers and set to true in tests/vampire 2012-08-22 01:31:57 +02:00
pyparam_util.c s4/param: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
pyparam.c s4: squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
pyparam.h
secrets.c Rely on /dev/urandom 2015-10-13 04:25:38 +02:00
secrets.h Rely on /dev/urandom 2015-10-13 04:25:38 +02:00
share_classic.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
share_ldb.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
share.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
share.h s4: pass down a memory context when performing share_string_option, to allow substitutions 2014-02-20 10:11:00 +13:00
wscript_build build: Remove bld.gen_python_environments() 2019-03-21 04:06:14 +00:00