From a7c9b298b9db93fa5052dfce36e51da50c520c3f Mon Sep 17 00:00:00 2001
From: Alexey Stratulat <alexey.stratulat@demlabs.net>
Date: Thu, 27 Jun 2019 16:02:09 +0700
Subject: [PATCH] Removed the parameter in the function dannite. Since it
 should not accept parameters and now it complies with the Python calling
 convention

---
 src/libdap-python.c | 2 +-
 src/libdap-python.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/libdap-python.c b/src/libdap-python.c
index 6552a49..75eb61f 100644
--- a/src/libdap-python.c
+++ b/src/libdap-python.c
@@ -25,7 +25,7 @@ static PyObject *dap_init(PyObject *self, PyObject *args){
     return PyLong_FromLong(0);
 }
 
-static PyObject *dap_deinit(PyObject *self){
+static PyObject *dap_deinit(){
     dap_config_deinit();
     dap_common_deinit();
     return PyLong_FromLong(0);
diff --git a/src/libdap-python.h b/src/libdap-python.h
index 1aac3c6..9b50508 100644
--- a/src/libdap-python.h
+++ b/src/libdap-python.h
@@ -11,7 +11,7 @@ extern "C" {
 
 static PyObject *dap_init(PyObject *self, PyObject *args);
 
-static PyObject *dap_deinit(PyObject *self);
+static PyObject *dap_deinit();
 
 static PyObject *dap_set_log_level(PyObject *self, PyObject *args);
 
@@ -46,4 +46,4 @@ PyMODINIT_FUNC PyInit_libdap_python_module(void);
 
 #ifdef  __cplusplus
 }
-#endif
\ No newline at end of file
+#endif
-- 
GitLab