]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:libnet: Remove unnecessary declarations
authorJo Sutton <josutton@catalyst.net.nz>
Wed, 24 Apr 2024 00:32:52 +0000 (12:32 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 16 May 2024 02:11:36 +0000 (02:11 +0000)
This declaration is a hold‐over from the Python 2 module initialization
pattern.

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/libnet/py_net_dckeytab.c

index a50f575679d8601137d797248acbefb14def6965..39deb5d3601cb68d98c74985ae39a5ebd55fcb7f 100644 (file)
@@ -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",