aboutsummaryrefslogtreecommitdiffstats
path: root/include/setjmp.h
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2014-05-11 13:48:21 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2014-05-11 13:48:21 +0000
commit448f5f73dcc7efe69df16b6a875b0cf0c6f41ae3 (patch)
treee3e7e2d2f693854c41c7eea431d0ace7bd6145fe /include/setjmp.h
parent204fa412be63514ff5835028e2643e77cf488ce3 (diff)
downloadsrc-448f5f73dcc7efe69df16b6a875b0cf0c6f41ae3.tar.gz
src-448f5f73dcc7efe69df16b6a875b0cf0c6f41ae3.zip
include: Remove checks for __BSD_VISIBLE where redundant with __XSI_VISIBLE
or __POSIX_VISIBLE. Whenever <sys/cdefs.h> sets __BSD_VISIBLE to non-zero, it also sets __POSIX_VISIBLE and __XSI_VISIBLE to the newest version supported. No functional change is intended.
Notes
Notes: svn path=/head/; revision=265878
Diffstat (limited to 'include/setjmp.h')
-rw-r--r--include/setjmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
index bf03f6fbb43a..598e07a77bc4 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -44,7 +44,7 @@
#include <machine/setjmp.h>
__BEGIN_DECLS
-#if __BSD_VISIBLE || __XSI_VISIBLE >= 600
+#if __XSI_VISIBLE >= 600
void _longjmp(jmp_buf, int) __dead2;
int _setjmp(jmp_buf) __returns_twice;
#endif
@@ -53,7 +53,7 @@ void longjmp(jmp_buf, int) __dead2;
void longjmperror(void);
#endif
int setjmp(jmp_buf) __returns_twice;
-#if __BSD_VISIBLE || __POSIX_VISIBLE || __XSI_VISIBLE
+#if __POSIX_VISIBLE || __XSI_VISIBLE
void siglongjmp(sigjmp_buf, int) __dead2;
int sigsetjmp(sigjmp_buf, int) __returns_twice;
#endif