diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-15 19:33:47 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:37 +0200 |
commit | 7049cfee24a745b918a6a55fe0e076c1ab75f563 (patch) | |
tree | b64be16c553319312793ec885cc23d79fe83a3b1 /libc/signal/sigfillset.c | |
parent | 95a2ed35514f8e5cc1d1de423a589dedc54df092 (diff) |
signal: cleanup, include only headers that are needed
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/signal/sigfillset.c')
-rw-r--r-- | libc/signal/sigfillset.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/signal/sigfillset.c b/libc/signal/sigfillset.c index 951e76b79..ef60f1005 100644 --- a/libc/signal/sigfillset.c +++ b/libc/signal/sigfillset.c @@ -16,10 +16,12 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include <errno.h> #include <signal.h> -#include <string.h> - +#if 0 +#define __need_NULL +#include <stddef.h> +#include <errno.h> +#endif /* Set all signals in SET. */ int @@ -46,4 +48,3 @@ sigfillset (sigset_t *set) return 0; } -libc_hidden_def(sigfillset) |