summaryrefslogtreecommitdiffstats
path: root/utils/statd/statd.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-07-29 17:20:10 +1000
committerNeil Brown <neilb@suse.de>2007-07-29 17:20:10 +1000
commit5835b1eec5a1f1e463c0762c510c6643fa2bff62 (patch)
tree7a8b95c1b9b1273be2272a2dd9302265f9839e4d /utils/statd/statd.c
parentdd087896285da9e160e13ee9f7d75381b67895e3 (diff)
downloadnfs-utils-5835b1eec5a1f1e463c0762c510c6643fa2bff62.tar.gz
nfs-utils-5835b1eec5a1f1e463c0762c510c6643fa2bff62.tar.xz
nfs-utils-5835b1eec5a1f1e463c0762c510c6643fa2bff62.zip
Add -Wstrict-prototypes to compiler args, and fix warnings caused.
Diffstat (limited to 'utils/statd/statd.c')
-rw-r--r--utils/statd/statd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/statd/statd.c b/utils/statd/statd.c
index 8337b64..ea985e6 100644
--- a/utils/statd/statd.c
+++ b/utils/statd/statd.c
@@ -148,7 +148,7 @@ static void log_modes(void)
* help the occasional admin.
*/
static void
-usage()
+usage(void)
{
fprintf(stderr,"usage: %s [options]\n", name_p);
fprintf(stderr," -h, -?, --help Print this help screen.\n");
@@ -445,7 +445,7 @@ int main (int argc, char **argv)
/* Child. */
- log_init (name_p,version_p);
+ log_init (/*name_p,version_p*/);
log_modes();