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/fsck_ifs | |
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/fsck_ifs')
-rw-r--r-- | sbin/fsck_ifs/fsck.h | 4 | ||||
-rw-r--r-- | sbin/fsck_ifs/utilities.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/fsck_ifs/fsck.h b/sbin/fsck_ifs/fsck.h index 24037b6..317052f 100644 --- a/sbin/fsck_ifs/fsck.h +++ b/sbin/fsck_ifs/fsck.h @@ -278,14 +278,14 @@ void catch __P((int)); void catchquit __P((int)); void ckfini __P((void)); int dofix __P((struct inodesc *idesc, char *msg)); -__dead void errexit __P((const char *s1, ...)) __dead2; +void errexit __P((const char *s1, ...)) __dead2; void flush __P((int fd, struct bufarea *bp)); void freeblk __P((daddr_t blkno, long frags)); int ftypeok __P((struct dinode *dp)); void getblk __P((struct bufarea *bp, daddr_t blk, long size)); struct bufarea * getdatablk __P((daddr_t blkno, long size)); void getpathname __P((char *namebuf, ino_t curdir, ino_t ino)); -__dead void panic __P((const char *, ...)) __dead2; +void panic __P((const char *, ...)) __dead2; void pfatal __P((const char *s1, ...)); void pwarn __P((const char *s1, ...)); int reply __P((char *question)); diff --git a/sbin/fsck_ifs/utilities.c b/sbin/fsck_ifs/utilities.c index 2028215..d0c91fa 100644 --- a/sbin/fsck_ifs/utilities.c +++ b/sbin/fsck_ifs/utilities.c @@ -527,7 +527,7 @@ dofix(idesc, msg) } /* VARARGS1 */ -__dead void +void errexit(const char *s1, ...) { va_list ap; @@ -580,7 +580,7 @@ pwarn(const char *s, ...) /* * Stub for routines from kernel. */ -__dead void +void #ifdef __STDC__ panic(const char *fmt, ...) #else |