<signal.h>: Sanitize the feature tests.
authorSascha Wildner <saw@online.de>
Thu, 1 Jan 2015 19:58:42 +0000 (20:58 +0100)
committerSascha Wildner <saw@online.de>
Fri, 2 Jan 2015 13:13:11 +0000 (14:13 +0100)
commitd3240feb7df0070ea20d7060c7118792728a7dec
treeedc58c655d4f7f63bba930de8dabd320fce2ab40
parent3ee3144d225265182254c2529d1e2ed7821b310b
<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.
include/signal.h
sys/cpu/i386/include/signal.h
sys/cpu/x86_64/include/signal.h