diff options
author | jilles <jilles@FreeBSD.org> | 2014-05-11 13:48:21 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2014-05-11 13:48:21 +0000 |
commit | e47308fc84d8eb2e6e15bb12fafc0792d878a58d (patch) | |
tree | e3e7e2d2f693854c41c7eea431d0ace7bd6145fe /include/setjmp.h | |
parent | 9ef9db396904b527fb74edb432f42a2b02d6bc6c (diff) | |
download | FreeBSD-src-e47308fc84d8eb2e6e15bb12fafc0792d878a58d.zip FreeBSD-src-e47308fc84d8eb2e6e15bb12fafc0792d878a58d.tar.gz |
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.
Diffstat (limited to 'include/setjmp.h')
-rw-r--r-- | include/setjmp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/setjmp.h b/include/setjmp.h index bf03f6f..598e07a 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 |