git: <signal.h>: Sanitize the feature tests.
Sascha Wildner
swildner at crater.dragonflybsd.org
Fri Jan 2 05:13:23 PST 2015
commit d3240feb7df0070ea20d7060c7118792728a7dec
Author: Sascha Wildner <saw at online.de>
Date: Thu Jan 1 20:58:42 2015 +0100
<signal.h>: Sanitize the feature tests.
* Generally, in our headers, we don't check the (user-settable)
_POSIX_SOURCE and _ANSI_SOURCE, but instead __XSI_VISIBLE,
__POSIX_VISIBLE and __BSD_VISIBLE, which are set by <sys/cdefs.h>
based on what the user chose. Do the same in the CPU specific
signal headers.
* psignal() is now a standard function (per 200809).
* Add missing __restrict qualifiers.
Summary of changes:
include/signal.h | 87 ++++++++++++++++++++++-------------------
sys/cpu/i386/include/signal.h | 4 +-
sys/cpu/x86_64/include/signal.h | 4 +-
3 files changed, 51 insertions(+), 44 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d3240feb7df0070ea20d7060c7118792728a7dec
--
DragonFly BSD source repository
More information about the Commits
mailing list