From 6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84 Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 14 Sep 1996 03:00:32 +0000 Subject: Don't use __dead or __pure in user code. They were obfuscations for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong. --- sbin/route/route.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin/route') diff --git a/sbin/route/route.c b/sbin/route/route.c index d829ac3..0f39d17 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -43,7 +43,7 @@ static const char copyright[] = static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94"; */ static const char rcsid[] = - "$Id: route.c,v 1.13 1996/08/13 22:20:20 julian Exp $"; + "$Id: route.c,v 1.14 1996/08/19 18:52:49 julian Exp $"; #endif /* not lint */ #include @@ -125,9 +125,9 @@ extern char *inet_ntoa(), *iso_ntoa(), *link_ntoa(); extern int ccitt_addr __P((char *, struct sockaddr_x25 *)); #endif -__dead void usage __P((const char *)) __dead2; +void usage __P((const char *)) __dead2; -__dead void +void usage(cp) const char *cp; { -- cgit v1.1