aboutsummaryrefslogtreecommitdiffstats
path: root/include/setjmp.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-09-14 03:00:32 +0000
committerBruce Evans <bde@FreeBSD.org>1996-09-14 03:00:32 +0000
commiteaa86f9d7fcbe6b82b1defa62f31071324c836ed (patch)
tree137a895b2bbf552ac725382b58bbcd9900e55b7a /include/setjmp.h
parent09c9a90bfd133721f20dfa93619c270d3d3d8dff (diff)
downloadsrc-eaa86f9d7fcbe6b82b1defa62f31071324c836ed.tar.gz
src-eaa86f9d7fcbe6b82b1defa62f31071324c836ed.zip
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.
Notes
Notes: svn path=/head/; revision=18286
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 89b4e3dd9ab4..5dcc8ee9564d 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 */