[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3458-g5106253

Günther Deschner gd at samba.org
Wed Jul 30 16:20:05 GMT 2008


The branch, v3-3-test has been updated
       via  51062534fd58d7a914a6bbac2e52bb44e71363b7 (commit)
      from  0c1efc6c89b1a51a94d10971bf0fc515416709b3 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 51062534fd58d7a914a6bbac2e52bb44e71363b7
Author: Günther Deschner <gd at samba.org>
Date:   Wed Jul 30 17:47:40 2008 +0200

    build: fix some no previous prototype warnings.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/libnet/libnet_samsync.c         |    2 +-
 source/nsswitch/winbind_krb5_locator.c |   20 ++++++++++----------
 2 files changed, 11 insertions(+), 11 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libnet/libnet_samsync.c b/source/libnet/libnet_samsync.c
index 4f2a8f9..daf27ff 100644
--- a/source/libnet/libnet_samsync.c
+++ b/source/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/source/nsswitch/winbind_krb5_locator.c b/source/nsswitch/winbind_krb5_locator.c
index 33a68f0..990c2ca 100644
--- a/source/nsswitch/winbind_krb5_locator.c
+++ b/source/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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list