diff options
| author | perry <perry@NetBSD.org> | 2005-02-06 05:11:52 +0000 |
|---|---|---|
| committer | perry <perry@NetBSD.org> | 2005-02-06 05:11:52 +0000 |
| commit | 4c57dc9906f7e12edf813a8e835169283f3ecb46 (patch) | |
| tree | dd20023b5f52441fb7b2f4fde106d6629ab28284 /libexec | |
| parent | d34cc2ba1331b069f9f0f8cab8201014df21e69c (diff) | |
de-__P, ANSIfy function declarations, remove obsolete "register" declarations.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/fingerd/fingerd.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/libexec/fingerd/fingerd.c b/libexec/fingerd/fingerd.c index 01243819b89..04476d28ccb 100644 --- a/libexec/fingerd/fingerd.c +++ b/libexec/fingerd/fingerd.c @@ -1,4 +1,4 @@ -/* $NetBSD: fingerd.c,v 1.21 2004/03/26 01:26:59 fair Exp $ */ +/* $NetBSD: fingerd.c,v 1.22 2005/02/06 05:11:52 perry Exp $ */ /* * Copyright (c) 1983, 1993 @@ -40,7 +40,7 @@ __COPYRIGHT( #if 0 static char sccsid[] = "from: @(#)fingerd.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: fingerd.c,v 1.21 2004/03/26 01:26:59 fair Exp $"); +__RCSID("$NetBSD: fingerd.c,v 1.22 2005/02/06 05:11:52 perry Exp $"); #endif #endif /* not lint */ @@ -59,17 +59,15 @@ __RCSID("$NetBSD: fingerd.c,v 1.21 2004/03/26 01:26:59 fair Exp $"); #include <string.h> #include "pathnames.h" -void err __P((const char *, ...)); -int main __P((int, char *[])); +void err(const char *, ...); +int main(int, char *[]); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { - register FILE *fp; - register int ch, ac = 2; - register char *lp = NULL /* XXX gcc */; + FILE *fp; + int ch, ac = 2; + char *lp = NULL /* XXX gcc */; struct sockaddr_storage ss; int p[2], logging, no_forward, user_required, short_list, sval; #define ENTRIES 50 |
