summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include/bsd_openprom.h
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/bsd_openprom.h
parentba18881e4df8b11933818f39574a56c490067044 (diff)
__dead doesn't work on function pointers.
Diffstat (limited to 'sys/arch/sparc/include/bsd_openprom.h')
-rw-r--r--sys/arch/sparc/include/bsd_openprom.h4
1 files changed, 2 insertions, 2 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 */
/*