summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/utilities.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 /sbin/fsck_ffs/utilities.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 'sbin/fsck_ffs/utilities.c')
-rw-r--r--sbin/fsck_ffs/utilities.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/utilities.c b/sbin/fsck_ffs/utilities.c
index 2028215..d0c91fa 100644
--- a/sbin/fsck_ffs/utilities.c
+++ b/sbin/fsck_ffs/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
OpenPOWER on IntegriCloud