summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-08-08 13:48:22 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-08-08 13:48:22 +0000
commit32b4acdc36aff4c928054ae7e9884061b536a143 (patch)
tree2cd0f1d3f85b6571ad2a6dae4b91ba1490867733 /sys/arch/sparc/include
parentba18881e4df8b11933818f39574a56c490067044 (diff)
__dead doesn't work on function pointers.
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r--sys/arch/sparc/include/bsd_openprom.h4
-rw-r--r--sys/arch/sparc/include/oldmon.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc/include/bsd_openprom.h b/sys/arch/sparc/include/bsd_openprom.h
index a9692b1e195..40f37590f22 100644
--- a/sys/arch/sparc/include/bsd_openprom.h
+++ b/sys/arch/sparc/include/bsd_openprom.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bsd_openprom.h,v 1.7 2001/08/08 02:26:35 millert Exp $ */
+/* $OpenBSD: bsd_openprom.h,v 1.8 2001/08/08 13:48:21 art Exp $ */
/* $NetBSD: bsd_openprom.h,v 1.11 1996/05/18 12:27:43 mrg Exp $ */
/*
@@ -224,7 +224,7 @@ struct promvec {
void (*pv_printf) __P((const char *fmt, ...));
void (*pv_abort) __P((void)); /* L1-A abort */
int *pv_ticks; /* Ticks since last reset */
- __dead void (*pv_halt) __P((void)); /* Halt! */
+ void (*pv_halt) __P((void)) __attribute__((__noreturn__));/* Halt! */
void (**pv_synchook) __P((void)); /* "sync" command hook */
/*
diff --git a/sys/arch/sparc/include/oldmon.h b/sys/arch/sparc/include/oldmon.h
index 8069e4627d1..cd3288dcec2 100644
--- a/sys/arch/sparc/include/oldmon.h
+++ b/sys/arch/sparc/include/oldmon.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: oldmon.h,v 1.6 2001/08/08 02:26:35 millert Exp $ */
+/* $OpenBSD: oldmon.h,v 1.7 2001/08/08 13:48:21 art Exp $ */
/* $NetBSD: oldmon.h,v 1.11 1996/03/31 22:21:38 pk Exp $ */
/*
@@ -234,7 +234,7 @@ struct om_vector {
long *resetMap; /* pgmap entry for resetaddr */
/* Really struct pgmapent * */
- __dead void (*exitToMon) __P((void)); /* Exit from user program */
+ void (*exitToMon) __P((void)) __attribute__((__noreturn__));/* Exit from user program */
u_char **memorybitmap; /* V1: &{0 or &bits} */
void (*setcxsegmap) /* Set seg in any context */
__P((int, caddr_t, int));