Module Name: src
Committed By: joerg
Date: Sun Feb 5 10:13:43 UTC 2017
Modified Files:
src/sys/arch/i386/stand/efiboot: panic.c
Log Message:
Be a bit nicer to outdated compilers and use __unreachable().
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/stand/efiboot/panic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/stand/efiboot/panic.c
diff -u src/sys/arch/i386/stand/efiboot/panic.c:1.2 src/sys/arch/i386/stand/efiboot/panic.c:1.3
--- src/sys/arch/i386/stand/efiboot/panic.c:1.2 Sat Feb 4 13:36:07 2017
+++ src/sys/arch/i386/stand/efiboot/panic.c Sun Feb 5 10:13:43 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: panic.c,v 1.2 2017/02/04 13:36:07 roy Exp $ */
+/* $NetBSD: panic.c,v 1.3 2017/02/05 10:13:43 joerg Exp $ */
/*-
* Copyright (c) 2016 Kimihiro Nonaka <[email protected]>
@@ -47,7 +47,7 @@ Panic(
va_end(args);
reboot();
/*NOTREACHED*/
- __builtin_unreachable();
+ __unreachable();
}
__dead void