summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_shutdown.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-13 09:20:15 +0000
committerbde <bde@FreeBSD.org>1996-09-13 09:20:15 +0000
commitf230d30a1e127a602bb526ad55f313f36ed628f0 (patch)
tree380e7f5a7dc4d400a115f86e29dfb4d0e5df52ed /sys/kern/kern_shutdown.c
parent7828a974708d911e76511f77ed20b37b95fefbcb (diff)
downloadFreeBSD-src-f230d30a1e127a602bb526ad55f313f36ed628f0.zip
FreeBSD-src-f230d30a1e127a602bb526ad55f313f36ed628f0.tar.gz
Don't use __dead in the kernel. It was an obfuscation for gcc >= 2.5
and a no-op for gcc >= 2.6.
Diffstat (limited to 'sys/kern/kern_shutdown.c')
-rw-r--r--sys/kern/kern_shutdown.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
index 7507740..66daad7 100644
--- a/sys/kern/kern_shutdown.c
+++ b/sys/kern/kern_shutdown.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94
- * $Id: kern_shutdown.c,v 1.5 1996/09/06 23:08:40 phk Exp $
+ * $Id: kern_shutdown.c,v 1.6 1996/09/07 19:13:09 sos Exp $
*/
#include "opt_ddb.h"
@@ -159,7 +159,7 @@ static struct pcb dumppcb;
* this used to be in machdep.c but I'll be dammned if I could see
* anything machine dependant in it.
*/
-__dead void
+void
boot(howto)
int howto;
{
@@ -335,9 +335,6 @@ dumpsys(void)
* and then reboots. If we are called twice, then we avoid trying to sync
* the disks as this often leads to recursive panics.
*/
-#ifdef __GNUC__
-__dead /* panic() does not return */
-#endif
void
panic(const char *fmt, ...)
{
OpenPOWER on IntegriCloud