summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/modules.c2
-rw-r--r--source4/scripting/python/modules.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/modules.c b/source4/scripting/python/modules.c
index abf5c46015..78cdbc0d87 100644
--- a/source4/scripting/python/modules.c
+++ b/source4/scripting/python/modules.c
@@ -31,7 +31,7 @@ static bool PySys_PathPrepend(PyObject *list, const char *path)
return (PyList_Insert(list, 0, py_path) == 0);
}
-bool py_update_path()
+bool py_update_path(void)
{
PyObject *mod_sys, *py_path;
diff --git a/source4/scripting/python/modules.h b/source4/scripting/python/modules.h
index 4e43e6de1d..e7e97aa1bf 100644
--- a/source4/scripting/python/modules.h
+++ b/source4/scripting/python/modules.h
@@ -20,6 +20,6 @@
#ifndef __SAMBA_PYTHON_MODULES_H__
#define __SAMBA_PYTHON_MODULES_H__
-bool py_update_path();
+bool py_update_path(void);
#endif /* __SAMBA_PYTHON_MODULES_H__ */