diff --git a/source4/scripting/python/modules.c b/source4/scripting/python/modules.c index abf5c46015e..78cdbc0d879 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 4e43e6de1dd..e7e97aa1bf4 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__ */