summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-13 14:21:58 +0000
committerdg <dg@FreeBSD.org>1994-08-13 14:21:58 +0000
commit9daaac06d011638b2c9c77c569a63927ae68ed7b (patch)
tree01edcf569af8464ca938981b6ba0e48c1541770f /sys/kern/subr_prf.c
parent700593f434cf6d270fc2a6fec50aba5a94e5869e (diff)
downloadFreeBSD-src-9daaac06d011638b2c9c77c569a63927ae68ed7b.zip
FreeBSD-src-9daaac06d011638b2c9c77c569a63927ae68ed7b.tar.gz
Made the kernel compile cleanly with gcc 2.6.0. Thanks go to Bruce
Evans for suggesting a method to detect various versions of gcc.
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r--sys/kern/subr_prf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index fb2866c..dc55898 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)subr_prf.c 8.3 (Berkeley) 1/21/94
- * $Id$
+ * $Id: subr_prf.c,v 1.3 1994/08/02 07:42:30 davidg Exp $
*/
#include <sys/param.h>
@@ -92,8 +92,7 @@ const char *panicstr;
* the disks as this often leads to recursive panics.
*/
#ifdef __GNUC__
-volatile void boot(int flags); /* boot() does not return */
-volatile /* panic() does not return */
+__dead /* panic() does not return */
#endif
void
#ifdef __STDC__
OpenPOWER on IntegriCloud