summaryrefslogtreecommitdiffstats
path: root/source/client/cifs.upcall.c
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
commit148a012421cdd875167e708c5dfa771d97bf9856 (patch)
treed21771cdfcca13e3873da6fc4f832b97b1bf5e27 /source/client/cifs.upcall.c
parent24a93d03c2ca4e718968e2024604e0f398c96659 (diff)
downloadsamba-148a012421cdd875167e708c5dfa771d97bf9856.tar.gz
samba-148a012421cdd875167e708c5dfa771d97bf9856.tar.xz
samba-148a012421cdd875167e708c5dfa771d97bf9856.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>
Diffstat (limited to 'source/client/cifs.upcall.c')
-rw-r--r--source/client/cifs.upcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/cifs.upcall.c b/source/client/cifs.upcall.c
index d6c1ddcc0e8..5a2a22a73ca 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);