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

sfrench at samba.org sfrench at samba.org
Tue Aug 5 20:37:08 GMT 2008


The branch, v3-3-test has been updated
       via  148a012421cdd875167e708c5dfa771d97bf9856 (commit)
      from  24a93d03c2ca4e718968e2024604e0f398c96659 (commit)

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


- Log -----------------------------------------------------------------
commit 148a012421cdd875167e708c5dfa771d97bf9856
Author: Steve French <stevef at smf-t60p.smfdom>
Date:   Tue Aug 5 15:36:11 2008 -0500

    Building cifs.upcall is giving this build warning:
    
       client/cifs.upcall.c:205: warning: function declaration isn’t a prototype
    
    This patch fixes this by properly declaring usage() args as void.
    
    Signed-off-by: Jeff Layton <jlayton at redhat.com>
    Signed-off-by: Steve French <sfrench at samba.org>

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

Summary of changes:
 source/client/cifs.upcall.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/client/cifs.upcall.c b/source/client/cifs.upcall.c
index d6c1ddc..5a2a22a 100644
--- a/source/client/cifs.upcall.c
+++ b/source/client/cifs.upcall.c
@@ -201,7 +201,7 @@ int cifs_resolver(const key_serial_t key, const char *key_descr)
 }
 
 void
-usage()
+usage(void)
 {
 	syslog(LOG_WARNING, "Usage: %s [-c] [-v] key_serial", prog);
 	fprintf(stderr, "Usage: %s [-c] [-v] key_serial\n", prog);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list