diff options
| author | dholland <dholland@NetBSD.org> | 2009-07-04 01:58:57 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2009-07-04 01:58:57 +0000 |
| commit | 6f8367e238e03f94d7cad37b751809e6c86c5fd0 (patch) | |
| tree | 274353fee90bb01e76107c50c61d0b53f30db2c1 /hunt/huntd/faketalk.c | |
| parent | 76f63b88b5274fe80f728b7af04e5bb6df552882 (diff) | |
| download | bsdgames-darwin-6f8367e238e03f94d7cad37b751809e6c86c5fd0.tar.gz bsdgames-darwin-6f8367e238e03f94d7cad37b751809e6c86c5fd0.zip | |
ANSIfy function declarations.
Diffstat (limited to 'hunt/huntd/faketalk.c')
| -rw-r--r-- | hunt/huntd/faketalk.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/hunt/huntd/faketalk.c b/hunt/huntd/faketalk.c index 54e125bb..72ed4dcd 100644 --- a/hunt/huntd/faketalk.c +++ b/hunt/huntd/faketalk.c @@ -1,4 +1,4 @@ -/* $NetBSD: faketalk.c,v 1.13 2009/07/04 01:01:18 dholland Exp $ */ +/* $NetBSD: faketalk.c,v 1.14 2009/07/04 02:37:20 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: faketalk.c,v 1.13 2009/07/04 01:01:18 dholland Exp $"); +__RCSID("$NetBSD: faketalk.c,v 1.14 2009/07/04 02:37:20 dholland Exp $"); #endif /* not lint */ #include "bsd.h" @@ -73,8 +73,7 @@ SIGNAL_TYPE exorcise(int); */ SIGNAL_TYPE -exorcise(dummy) - int dummy __unused; +exorcise(int dummy __unused) { (void) wait(0); } @@ -85,7 +84,7 @@ exorcise(dummy) */ void -faketalk() +faketalk(void) { struct servent *sp; char buf[BUFSIZ]; @@ -207,8 +206,7 @@ faketalk() */ static void -do_announce(s) - char *s; +do_announce(char *s) { CTL_RESPONSE response; @@ -246,7 +244,7 @@ do_announce(s) } #else void -faketalk() +faketalk(void) { return; } |
