From: Jo Sutton Date: Wed, 24 Apr 2024 00:32:52 +0000 (+1200) Subject: s4:libnet: Remove unnecessary declarations X-Git-Tag: tdb-1.4.11~659 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c167ac53016ba7ce0068bdae6a0b6a05b2dc6189;p=thirdparty%2Fsamba.git s4:libnet: Remove unnecessary declarations This declaration is a hold‐over from the Python 2 module initialization pattern. Signed-off-by: Jo Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/libnet/py_net_dckeytab.c b/source4/libnet/py_net_dckeytab.c index a50f575679d..39deb5d3601 100644 --- a/source4/libnet/py_net_dckeytab.c +++ b/source4/libnet/py_net_dckeytab.c @@ -29,8 +29,6 @@ #include "pyldb.h" #include "libcli/util/pyerrors.h" -void initdckeytab(void); - static PyObject *py_net_export_keytab(py_net_Object *self, PyObject *args, PyObject *kwargs) { struct libnet_export_keytab r; @@ -104,7 +102,6 @@ static PyMethodDef export_keytab_method_table[] = { * the global module table even if we don't really need that record. Thus, we initialize * dckeytab module but never use it. * */ -void initdckeytab(void); static struct PyModuleDef moduledef = { PyModuleDef_HEAD_INIT, .m_name = "dckeytab",