summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-07-30 17:47:40 +0200
committerGünther Deschner <gd@samba.org>2008-07-30 18:10:46 +0200
commit3ea5c185ad7b59c069e05f7712bea945d35b47dd (patch)
treedadeb492cc81eb5861e00761eebe36606f36a7d7 /source3
parent3bdfcbac5c1a6c571a4299467a7993da46a921a5 (diff)
downloadsamba-3ea5c185ad7b59c069e05f7712bea945d35b47dd.tar.gz
samba-3ea5c185ad7b59c069e05f7712bea945d35b47dd.tar.bz2
samba-3ea5c185ad7b59c069e05f7712bea945d35b47dd.zip
build: fix some no previous prototype warnings.
Guenther (This used to be commit 51062534fd58d7a914a6bbac2e52bb44e71363b7)
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_samsync.c2
-rw-r--r--source3/nsswitch/winbind_krb5_locator.c20
2 files changed, 11 insertions, 11 deletions
diff --git a/source3/libnet/libnet_samsync.c b/source3/libnet/libnet_samsync.c
index 4f2a8f9222..daf27ffb51 100644
--- a/source3/libnet/libnet_samsync.c
+++ b/source3/libnet/libnet_samsync.c
@@ -22,7 +22,7 @@
#include "includes.h"
-#include "libnet/libnet_samsync.h"
+#include "libnet/libnet.h"
/**
* Decrypt and extract the user's passwords.
diff --git a/source3/nsswitch/winbind_krb5_locator.c b/source3/nsswitch/winbind_krb5_locator.c
index 33a68f0cdc..990c2cae50 100644
--- a/source3/nsswitch/winbind_krb5_locator.c
+++ b/source3/nsswitch/winbind_krb5_locator.c
@@ -222,8 +222,8 @@ static krb5_error_code smb_krb5_locator_call_cbfunc(const char *name,
* @return krb5_error_code.
*/
-krb5_error_code smb_krb5_locator_init(krb5_context context,
- void **private_data)
+static krb5_error_code smb_krb5_locator_init(krb5_context context,
+ void **private_data)
{
return 0;
}
@@ -236,7 +236,7 @@ krb5_error_code smb_krb5_locator_init(krb5_context context,
* @return void.
*/
-void smb_krb5_locator_close(void *private_data)
+static void smb_krb5_locator_close(void *private_data)
{
return;
}
@@ -292,13 +292,13 @@ static bool ask_winbind(const char *realm, char **dcname)
* @return krb5_error_code.
*/
-krb5_error_code smb_krb5_locator_lookup(void *private_data,
- enum locate_service_type svc,
- const char *realm,
- int socktype,
- int family,
- int (*cbfunc)(void *, int, struct sockaddr *),
- void *cbdata)
+static krb5_error_code smb_krb5_locator_lookup(void *private_data,
+ enum locate_service_type svc,
+ const char *realm,
+ int socktype,
+ int family,
+ int (*cbfunc)(void *, int, struct sockaddr *),
+ void *cbdata)
{
krb5_error_code ret;
struct addrinfo aihints;