[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: arp: replacing existing entries
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Re: arp: replacing existing entries
- From: Michael Knudsen <e_(_at_)_molioner_(_dot_)_dk>
- Date: Fri, 25 Mar 2005 01:42:22 +0100
- Cc: Mike Belopuhov <mkb_(_at_)_cvs_(_dot_)_hnet_(_dot_)_spb_(_dot_)_ru>
- Mail-followup-to: tech_(_at_)_openbsd_(_dot_)_org, Mike Belopuhov <mkb_(_at_)_cvs_(_dot_)_hnet_(_dot_)_spb_(_dot_)_ru>
- Reply-to: tech_(_at_)_openbsd_(_dot_)_org
Quoting Mike Belopuhov (mkb_(_at_)_cvs_(_dot_)_hnet_(_dot_)_spb_(_dot_)_ru):
> I suppose, it is not a new topic for a discussion, anyway,
> here is the diff.
usage() should be marked __dead (not that it seemed to make any
difference in the resulting binary):
Index: arp.c
===================================================================
RCS file: /cvs/src/usr.sbin/arp/arp.c,v
retrieving revision 1.31
diff -u -r1.31 arp.c
--- arp.c 2005/01/04 10:57:23 1.31
+++ arp.c 2005/03/25 00:33:57
@@ -85,7 +85,7 @@
void getsocket(void);
int rtmsg(int);
int set(int, char **);
-void usage(void);
+__dead void usage(void);
Regards,
Michael.
--
The Librarian gave him the kind of look other people would reserve for
people who said things like `What's so bad about genocide?'
-- (Terry Pratchett, Guards! Guards!)
Visit your host, monkey.org