mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
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
This commit is contained in:
parent
1820084523
commit
5135e40277
@ -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;
|
||||
|
||||
|
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user