summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSteve French <stevef@smf-t60p.smfdom>2008-08-05 15:36:11 -0500
committerSteve French <stevef@smf-t60p.smfdom>2008-08-05 15:36:11 -0500
commit3b6c8bc662e8c14d9869696fc76e56515a4e642a (patch)
tree3ce5694c4881b26a3f1b8ed05627bd5922d04313 /source3
parentb893729a3dce43b0c04deec82ee89c4b19a0f8ee (diff)
downloadsamba-3b6c8bc662e8c14d9869696fc76e56515a4e642a.tar.gz
samba-3b6c8bc662e8c14d9869696fc76e56515a4e642a.tar.bz2
samba-3b6c8bc662e8c14d9869696fc76e56515a4e642a.zip
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@redhat.com> Signed-off-by: Steve French <sfrench@samba.org> (This used to be commit 148a012421cdd875167e708c5dfa771d97bf9856)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/cifs.upcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/cifs.upcall.c b/source3/client/cifs.upcall.c
index d6c1ddcc0e..5a2a22a73c 100644
--- a/source3/client/cifs.upcall.c
+++ b/source3/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);