summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-30 19:30:09 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-01-03 01:48:04 +0100
commit8bf53569581c2e7677f7e698fe749f595117bc86 (patch)
tree0ca84ab0ba553dd9c7ba56072cd42769d45903bf
parente31224e27c94b36af1d33d3b571d8320121ef22a (diff)
downloadsamba-8bf53569581c2e7677f7e698fe749f595117bc86.tar.gz
samba-8bf53569581c2e7677f7e698fe749f595117bc86.tar.bz2
samba-8bf53569581c2e7677f7e698fe749f595117bc86.zip
s4-python: Add missing prototypes.
-rw-r--r--source4/dsdb/pydsdb.c2
-rw-r--r--source4/libnet/py_net.c2
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;