diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-29 18:09:09 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-01-01 02:54:05 +0100 |
commit | f5fe9c32ef833d3f1ee4b891f46e94382aa182fe (patch) | |
tree | 0d356b43c6bd5ccd4af090c0173b7d0f63ba540b | |
parent | 4350e0c3c99fedab99ab1cc680e9d8fe555162e9 (diff) | |
download | samba-f5fe9c32ef833d3f1ee4b891f46e94382aa182fe.tar.gz samba-f5fe9c32ef833d3f1ee4b891f46e94382aa182fe.tar.xz samba-f5fe9c32ef833d3f1ee4b891f46e94382aa182fe.zip |
s4-python: Add more prototypes.
-rw-r--r-- | lib/talloc/pytalloc.c | 2 | ||||
-rw-r--r-- | libcli/nbt/pynbt.c | 2 | ||||
-rw-r--r-- | source4/lib/ldb-samba/pyldb.c | 2 | ||||
-rw-r--r-- | source4/lib/ldb/pyldb.c | 2 | ||||
-rw-r--r-- | source4/lib/messaging/pymessaging.c | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/lib/talloc/pytalloc.c b/lib/talloc/pytalloc.c index 457358ed8f3..a8c46c96f8c 100644 --- a/lib/talloc/pytalloc.c +++ b/lib/talloc/pytalloc.c @@ -21,6 +21,8 @@ #include <talloc.h> #include <pytalloc.h> +void inittalloc(void); + /* print a talloc tree report for a talloc python object */ static PyObject *py_talloc_report_full(PyObject *self, PyObject *args) { diff --git a/libcli/nbt/pynbt.c b/libcli/nbt/pynbt.c index 452ae3a1a2b..9251ecfc428 100644 --- a/libcli/nbt/pynbt.c +++ b/libcli/nbt/pynbt.c @@ -24,6 +24,8 @@ #include "../libcli/nbt/libnbt.h" #include "lib/events/events.h" +void initnetbios(void); + #ifndef Py_RETURN_NONE #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None #endif diff --git a/source4/lib/ldb-samba/pyldb.c b/source4/lib/ldb-samba/pyldb.c index 9345145af1a..cce653e20ac 100644 --- a/source4/lib/ldb-samba/pyldb.c +++ b/source4/lib/ldb-samba/pyldb.c @@ -29,6 +29,8 @@ #include "lib/ldb-samba/ldif_handlers.h" #include "auth/pyauth.h" +void init_ldb(void); + static PyObject *pyldb_module; static PyObject *py_ldb_error; staticforward PyTypeObject PySambaLdb; diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c index 5446aafb92a..71720d60e0c 100644 --- a/source4/lib/ldb/pyldb.c +++ b/source4/lib/ldb/pyldb.c @@ -30,6 +30,8 @@ #include "ldb_private.h" #include "pyldb.h" +void initldb(void); + /* There's no Py_ssize_t in 2.4, apparently */ #if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5 typedef int Py_ssize_t; diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c index 20e1d761645..9854f4f95ef 100644 --- a/source4/lib/messaging/pymessaging.c +++ b/source4/lib/messaging/pymessaging.c @@ -33,6 +33,8 @@ #include "librpc/rpc/dcerpc.h" #include "librpc/gen_ndr/server_id.h" +void initmessaging(void); + extern PyTypeObject messaging_Type; static bool server_id_from_py(PyObject *object, struct server_id *server_id) |