From 7e039c7dda275d91933d19ef8c8a08b0005255b4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Mar 2011 00:44:56 +0100 Subject: source4/auth: Fix prototypes for all functions. --- source4/auth/credentials/credentials.c | 1 + source4/auth/credentials/credentials_secrets.c | 1 + source4/auth/credentials/pycredentials.c | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'source4/auth/credentials') diff --git a/source4/auth/credentials/credentials.c b/source4/auth/credentials/credentials.c index 21ee987852..015c549693 100644 --- a/source4/auth/credentials/credentials.c +++ b/source4/auth/credentials/credentials.c @@ -24,6 +24,7 @@ #include "includes.h" #include "librpc/gen_ndr/samr.h" /* for struct samrPassword */ #include "auth/credentials/credentials.h" +#include "auth/credentials/credentials_proto.h" #include "libcli/auth/libcli_auth.h" #include "lib/events/events.h" #include "param/param.h" diff --git a/source4/auth/credentials/credentials_secrets.c b/source4/auth/credentials/credentials_secrets.c index 0be4680e34..86e31f4c8b 100644 --- a/source4/auth/credentials/credentials_secrets.c +++ b/source4/auth/credentials/credentials_secrets.c @@ -28,6 +28,7 @@ #include "param/secrets.h" #include "system/filesys.h" #include "auth/credentials/credentials.h" +#include "auth/credentials/credentials_proto.h" #include "auth/credentials/credentials_krb5.h" #include "auth/kerberos/kerberos_util.h" #include "param/param.h" diff --git a/source4/auth/credentials/pycredentials.c b/source4/auth/credentials/pycredentials.c index c51e5e1f45..909d89786f 100644 --- a/source4/auth/credentials/pycredentials.c +++ b/source4/auth/credentials/pycredentials.c @@ -26,6 +26,8 @@ #include "param/pyparam.h" #include +void initcredentials(void); + static PyObject *PyString_FromStringOrNULL(const char *str) { if (str == NULL) @@ -267,7 +269,7 @@ static PyObject *py_creds_set_machine_account(py_talloc_Object *self, PyObject * Py_RETURN_NONE; } -PyObject *PyCredentialCacheContainer_from_ccache_container(struct ccache_container *ccc) +static PyObject *PyCredentialCacheContainer_from_ccache_container(struct ccache_container *ccc) { PyCredentialCacheContainerObject *py_ret; -- cgit