summaryrefslogtreecommitdiffstats
path: root/include/setjmp.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-14 03:00:32 +0000
committerbde <bde@FreeBSD.org>1996-09-14 03:00:32 +0000
commit6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84 (patch)
tree137a895b2bbf552ac725382b58bbcd9900e55b7a /include/setjmp.h
parent7a2a97d77da0ec8209bd2d8424f56c95a4f837ea (diff)
downloadFreeBSD-src-6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84.zip
FreeBSD-src-6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84.tar.gz
Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
Diffstat (limited to 'include/setjmp.h')
-rw-r--r--include/setjmp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
index 89b4e3d..5dcc8ee 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -80,18 +80,15 @@ typedef struct { int _jb[_JBLEN + 1]; } jmp_buf[1];
__BEGIN_DECLS
int setjmp __P((jmp_buf));
-__dead
void longjmp __P((jmp_buf, int)) __dead2;
#ifndef _ANSI_SOURCE
int sigsetjmp __P((sigjmp_buf, int));
-__dead
void siglongjmp __P((sigjmp_buf, int)) __dead2;
#endif /* not ANSI */
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
int _setjmp __P((jmp_buf));
-__dead
void _longjmp __P((jmp_buf, int)) __dead2;
void longjmperror __P((void));
#endif /* neither ANSI nor POSIX */
OpenPOWER on IntegriCloud