s4:scripting/python/modules.[ch] - explicitly say that "py_update_path" takes no...
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 21 Feb 2011 10:47:17 +0000 (11:47 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 21 Feb 2011 13:42:00 +0000 (14:42 +0100)
This quiets some build warnings.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Feb 21 14:42:00 CET 2011 on sn-devel-104

source4/scripting/python/modules.c
source4/scripting/python/modules.h

index abf5c46015e51a7f947ca02e972bf00d52031699..78cdbc0d87966dfe9fb5d0d2d4f574b4c2745a4e 100644 (file)
@@ -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;
 
index 4e43e6de1dd809441e819b9f3cfd00333e178f11..e7e97aa1bf4b503e3acc4c9f24ccd68f48848515 100644 (file)
@@ -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__ */