1
0
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:
Matthias Dieter Wallnöfer 2011-02-21 11:47:17 +01:00
parent 1820084523
commit 5135e40277
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ static bool PySys_PathPrepend(PyObject *list, const char *path)
return (PyList_Insert(list, 0, py_path) == 0); return (PyList_Insert(list, 0, py_path) == 0);
} }
bool py_update_path() bool py_update_path(void)
{ {
PyObject *mod_sys, *py_path; PyObject *mod_sys, *py_path;

View File

@ -20,6 +20,6 @@
#ifndef __SAMBA_PYTHON_MODULES_H__ #ifndef __SAMBA_PYTHON_MODULES_H__
#define __SAMBA_PYTHON_MODULES_H__ #define __SAMBA_PYTHON_MODULES_H__
bool py_update_path(); bool py_update_path(void);
#endif /* __SAMBA_PYTHON_MODULES_H__ */ #endif /* __SAMBA_PYTHON_MODULES_H__ */