diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-03-19 00:45:36 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-03-19 03:20:05 +0100 |
commit | bd0eced7d586a1648c9c429b5ac6aeec8256e4c6 (patch) | |
tree | 19c9f106948f4b7e6899dd5da07adfa6af9c9145 | |
parent | fc720be5a2a178ea9b85cac9a9f8649158e96121 (diff) | |
download | samba-bd0eced7d586a1648c9c429b5ac6aeec8256e4c6.tar.gz samba-bd0eced7d586a1648c9c429b5ac6aeec8256e4c6.tar.bz2 samba-bd0eced7d586a1648c9c429b5ac6aeec8256e4c6.zip |
source4/lib: Fix prototypes for all functions.
-rw-r--r-- | source4/lib/com/classes/simple.c | 2 | ||||
-rw-r--r-- | source4/lib/com/pycom.c | 2 | ||||
-rw-r--r-- | source4/lib/policy/pypolicy.c | 2 | ||||
-rw-r--r-- | source4/lib/registry/pyregistry.c | 2 | ||||
-rw-r--r-- | source4/lib/socket/socket_ip.c | 3 | ||||
-rw-r--r-- | source4/lib/socket/socket_unix.c | 1 |
6 files changed, 12 insertions, 0 deletions
diff --git a/source4/lib/com/classes/simple.c b/source4/lib/com/classes/simple.c index 295f113207..367ce9d631 100644 --- a/source4/lib/com/classes/simple.c +++ b/source4/lib/com/classes/simple.c @@ -22,6 +22,8 @@ #include "lib/com/com.h" #include "librpc/gen_ndr/com_dcom.h" +NTSTATUS com_simple_init(void); + static struct IClassFactory_vtable simple_classobject_vtable; static struct IStream_vtable simple_IStream_vtable; diff --git a/source4/lib/com/pycom.c b/source4/lib/com/pycom.c index 3323ca645e..b445812181 100644 --- a/source4/lib/com/pycom.c +++ b/source4/lib/com/pycom.c @@ -23,6 +23,8 @@ #include "librpc/ndr/libndr.h" #include "libcli/util/pyerrors.h" +void initcom(void); + static struct com_context *py_com_ctx = NULL; /* FIXME: evil global */ static PyObject *py_get_class_object(PyObject *self, PyObject *args) diff --git a/source4/lib/policy/pypolicy.c b/source4/lib/policy/pypolicy.c index 7df5081d66..3f302e6764 100644 --- a/source4/lib/policy/pypolicy.c +++ b/source4/lib/policy/pypolicy.c @@ -22,6 +22,8 @@ #include "policy.h" #include "libcli/util/pyerrors.h" +void initpolicy(void); + static PyObject *py_get_gpo_flags(PyObject *self, PyObject *args) { int flags; diff --git a/source4/lib/registry/pyregistry.c b/source4/lib/registry/pyregistry.c index b93258a856..5719bbd115 100644 --- a/source4/lib/registry/pyregistry.c +++ b/source4/lib/registry/pyregistry.c @@ -31,6 +31,8 @@ extern PyTypeObject PyRegistryKey; extern PyTypeObject PyRegistry; extern PyTypeObject PyHiveKey; +void initregistry(void); + /*#define PyRegistryKey_AsRegistryKey(obj) py_talloc_get_type(obj, struct registry_key)*/ #define PyRegistry_AsRegistryContext(obj) ((struct registry_context *)py_talloc_get_ptr(obj)) #define PyHiveKey_AsHiveKey(obj) ((struct hive_key*)py_talloc_get_ptr(obj)) diff --git a/source4/lib/socket/socket_ip.c b/source4/lib/socket/socket_ip.c index 9a02f0184c..4e66653252 100644 --- a/source4/lib/socket/socket_ip.c +++ b/source4/lib/socket/socket_ip.c @@ -27,6 +27,9 @@ #include "system/network.h" #include "lib/util/util_net.h" +_PUBLIC_ const struct socket_ops *socket_ipv4_ops(enum socket_type type); +_PUBLIC_ const struct socket_ops *socket_ipv6_ops(enum socket_type type); + static NTSTATUS ipv4_init(struct socket_context *sock) { int type; diff --git a/source4/lib/socket/socket_unix.c b/source4/lib/socket/socket_unix.c index af7d2bb79f..f1fa0a3a30 100644 --- a/source4/lib/socket/socket_unix.c +++ b/source4/lib/socket/socket_unix.c @@ -25,6 +25,7 @@ #include "system/network.h" #include "system/filesys.h" +_PUBLIC_ const struct socket_ops *socket_unixdom_ops(enum socket_type type); /* |