From f2b21f6a68d4337e86ad44629e1f23a6f8b34ad4 Mon Sep 17 00:00:00 2001 From: charnier Date: Mon, 13 Oct 1997 11:03:36 +0000 Subject: Mdoc'ify man page. --- usr.sbin/rarpd/rarpd.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'usr.sbin/rarpd/rarpd.c') diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c index b3a494d..87f833d 100644 --- a/usr.sbin/rarpd/rarpd.c +++ b/usr.sbin/rarpd/rarpd.c @@ -18,16 +18,17 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + #ifndef lint -char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1990, 1991, 1992, 1993, 1996\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint static const char rcsid[] = - "$Id: rarpd.c,v 1.15 1997/02/22 16:12:44 peter Exp $"; -#endif + "$Id$"; +#endif /* not lint */ /* * rarpd - Reverse ARP Daemon @@ -154,7 +155,7 @@ int rarp_open __P((char *)); void rarp_process __P((struct if_info *, u_char *, u_int)); void rarp_reply __P((struct if_info *, struct ether_header *, u_long, u_int)); void update_arptab __P((u_char *, u_long)); -void usage __P((void)); +static void usage __P((void)); static u_char zero[6]; @@ -397,10 +398,10 @@ init(target) ntohl(ii->ii_netmask), eatoa(ii->ii_eaddr)); } -void +static void usage() { - (void)fprintf(stderr, "usage: rarpd [ -afnv ] [ interface ]\n"); + (void)fprintf(stderr, "usage: rarpd [-afnv] [interface]\n"); exit(1); } -- cgit v1.1