From 5135e40277f5603bfc439aca6a795b267bf70cb3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Mon, 21 Feb 2011 11:47:17 +0100 Subject: [PATCH] s4:scripting/python/modules.[ch] - explicitly say that "py_update_path" takes no argument MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- source4/scripting/python/modules.c | 2 +- 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__ */ -- 2.34.1