summaryrefslogtreecommitdiffstats
path: root/usr.bin/tftp/main.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-14 03:00:32 +0000
committerbde <bde@FreeBSD.org>1996-09-14 03:00:32 +0000
commit6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84 (patch)
tree137a895b2bbf552ac725382b58bbcd9900e55b7a /usr.bin/tftp/main.c
parent7a2a97d77da0ec8209bd2d8424f56c95a4f837ea (diff)
downloadFreeBSD-src-6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84.zip
FreeBSD-src-6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84.tar.gz
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.
Diffstat (limited to 'usr.bin/tftp/main.c')
-rw-r--r--usr.bin/tftp/main.c4
1 files changed, 2 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud