From: Matthias Dieter Wallnöfer Date: Mon, 21 Feb 2011 10:47:17 +0000 (+0100) Subject: s4:scripting/python/modules.[ch] - explicitly say that "py_update_path" takes no... X-Git-Tag: tevent-0.9.11~442 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5135e40277f5603bfc439aca6a795b267bf70cb3;p=thirdparty%2Fsamba.git s4:scripting/python/modules.[ch] - explicitly say that "py_update_path" takes no argument This quiets some build warnings. Autobuild-User: Matthias Dieter Wallnöfer Autobuild-Date: Mon Feb 21 14:42:00 CET 2011 on sn-devel-104 --- 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__ */