diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-30 19:30:09 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-01-03 01:48:04 +0100 |
commit | 8bf53569581c2e7677f7e698fe749f595117bc86 (patch) | |
tree | 0ca84ab0ba553dd9c7ba56072cd42769d45903bf /source4 | |
parent | e31224e27c94b36af1d33d3b571d8320121ef22a (diff) | |
download | samba-8bf53569581c2e7677f7e698fe749f595117bc86.tar.gz samba-8bf53569581c2e7677f7e698fe749f595117bc86.tar.bz2 samba-8bf53569581c2e7677f7e698fe749f595117bc86.zip |
s4-python: Add missing prototypes.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/pydsdb.c | 2 | ||||
-rw-r--r-- | source4/libnet/py_net.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c index 1a51b86455..895bd9a560 100644 --- a/source4/dsdb/pydsdb.c +++ b/source4/dsdb/pydsdb.c @@ -29,6 +29,8 @@ #include "librpc/rpc/pyrpc_util.h" #include "lib/policy/policy.h" +void initdsdb(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/libnet/py_net.c b/source4/libnet/py_net.c index 514f9dfe3c..b7f7d9eaaf 100644 --- a/source4/libnet/py_net.c +++ b/source4/libnet/py_net.c @@ -32,6 +32,8 @@ #include "libcli/finddc.h" #include "libcli/resolve/resolve.h" +void initnet(void); + typedef struct { PyObject_HEAD TALLOC_CTX *mem_ctx; |