diff options
-rw-r--r-- | include/setjmp.h | 14 | ||||
-rw-r--r-- | sys/sys/systm.h | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/include/setjmp.h b/include/setjmp.h index 28bce8a7830..1028019b493 100644 --- a/include/setjmp.h +++ b/include/setjmp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: setjmp.h,v 1.5 2005/12/13 00:35:22 millert Exp $ */ +/* $OpenBSD: setjmp.h,v 1.6 2012/09/26 00:09:48 brad Exp $ */ /* $NetBSD: setjmp.h,v 1.11 1994/12/20 10:35:44 cgd Exp $ */ /*- @@ -50,17 +50,17 @@ typedef long sigjmp_buf[_JBLEN + 1]; typedef long jmp_buf[_JBLEN]; __BEGIN_DECLS -int setjmp(jmp_buf); -void longjmp(jmp_buf, int); +__returns_twice int setjmp(jmp_buf); +__dead void longjmp(jmp_buf, int); #if __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE -int sigsetjmp(sigjmp_buf, int); -void siglongjmp(sigjmp_buf, int); +__returns_twice int sigsetjmp(sigjmp_buf, int); +__dead void siglongjmp(sigjmp_buf, int); #endif /* __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE */ #if __BSD_VISIBLE || __XPG_VISIBLE -int _setjmp(jmp_buf); -void _longjmp(jmp_buf, int); +__returns_twice int _setjmp(jmp_buf); +__dead void _longjmp(jmp_buf, int); void longjmperror(void); #endif /* __BSD_VISIBLE || __XPG_VISIBLE */ __END_DECLS diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 1c20ea6241f..90f1fe4de6f 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: systm.h,v 1.92 2012/08/07 05:16:53 guenther Exp $ */ +/* $OpenBSD: systm.h,v 1.93 2012/09/26 00:09:48 brad Exp $ */ /* $NetBSD: systm.h,v 1.50 1996/06/09 04:55:09 briggs Exp $ */ /*- @@ -306,8 +306,8 @@ struct uio; int uiomove(void *, int, struct uio *); #if defined(_KERNEL) -int setjmp(label_t *); -void longjmp(label_t *); +__returns_twice int setjmp(label_t *); +__dead void longjmp(label_t *); #endif void consinit(void); |