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. --- usr.bin/tftp/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tftp/main.c') diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index b34ab2c..4763f43 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -97,7 +97,7 @@ void settrace __P((int, char **)); void setverbose __P((int, char **)); void status __P((int, char **)); -static __dead void command __P((void)); +static void command __P((void)) __dead2; static void getusage __P((char *)); static void makeargv __P((void)); @@ -589,7 +589,7 @@ tail(filename) /* * Command parser. */ -static __dead void +static void command() { register struct cmd *c; -- cgit v1.1