Reduce <signal.h> namespace pollution.

<signal.h> shouldn't drag in all of <string.h>.

Change-Id: I57aea36dad5e89ea2f9541c35594ca6225e532be
This commit is contained in:
Elliott Hughes 2015-01-24 14:18:16 -08:00
parent 6e15edcca5
commit 6466292a7e
3 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@
#include <errno.h> #include <errno.h>
#include <signal.h> #include <signal.h>
#include <string.h>
int sigemptyset(sigset_t* set) { int sigemptyset(sigset_t* set) {
if (set == NULL) { if (set == NULL) {

View file

@ -28,6 +28,7 @@
#include <errno.h> #include <errno.h>
#include <signal.h> #include <signal.h>
#include <string.h>
int sigfillset(sigset_t* set) { int sigfillset(sigset_t* set) {
if (set == NULL) { if (set == NULL) {

View file

@ -33,7 +33,6 @@
#include <limits.h> #include <limits.h>
#include <machine/pthread_types.h> #include <machine/pthread_types.h>
#include <machine/timespec.h> #include <machine/timespec.h>
#include <string.h>
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <sys/types.h> #include <sys/types.h>