Reduce <signal.h> namespace pollution.
<signal.h> shouldn't drag in all of <string.h>. Change-Id: I57aea36dad5e89ea2f9541c35594ca6225e532be
This commit is contained in:
parent
6e15edcca5
commit
6466292a7e
3 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
|
||||
int sigemptyset(sigset_t* set) {
|
||||
if (set == NULL) {
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
|
||||
int sigfillset(sigset_t* set) {
|
||||
if (set == NULL) {
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <limits.h>
|
||||
#include <machine/pthread_types.h>
|
||||
#include <machine/timespec.h>
|
||||
#include <string.h>
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue