diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-21 11:47:17 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-21 14:42:00 +0100 |
commit | 5135e40277f5603bfc439aca6a795b267bf70cb3 (patch) | |
tree | 5d77ed30d5f5700d98ef783a15b2fc5f29f9976c | |
parent | 182008452381c126fb41984aa392b8b6e9010974 (diff) | |
download | samba-5135e40277f5603bfc439aca6a795b267bf70cb3.tar.gz samba-5135e40277f5603bfc439aca6a795b267bf70cb3.tar.bz2 samba-5135e40277f5603bfc439aca6a795b267bf70cb3.zip |
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 <mdw@samba.org>
Autobuild-Date: Mon Feb 21 14:42:00 CET 2011 on sn-devel-104
-rw-r--r-- | source4/scripting/python/modules.c | 2 | ||||
-rw-r--r-- | source4/scripting/python/modules.h | 2 |
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__ */ |