diff options
author | bde <bde@FreeBSD.org> | 1996-09-14 03:00:32 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-14 03:00:32 +0000 |
commit | 6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84 (patch) | |
tree | 137a895b2bbf552ac725382b58bbcd9900e55b7a /sbin/dump/main.c | |
parent | 7a2a97d77da0ec8209bd2d8424f56c95a4f837ea (diff) | |
download | FreeBSD-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 'sbin/dump/main.c')
-rw-r--r-- | sbin/dump/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c index a1324dd..408043a 100644 --- a/sbin/dump/main.c +++ b/sbin/dump/main.c @@ -85,7 +85,7 @@ long blocksperfile; /* output blocks per file */ char *host = NULL; /* remote host (if any) */ static long numarg __P((int, char *, long, long, int *, char ***)); -static __dead void missingarg __P((int, char *)); +static void missingarg __P((int, char *)) __dead2; int main(argc, argv) @@ -507,7 +507,7 @@ bad: exit(X_ABORT); } -static __dead void +static void missingarg(letter, meaning) int letter; char *meaning; |