diff options
author | Elliott Hughes <enh@google.com> | 2015-01-24 14:18:16 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-01-24 14:18:16 -0800 |
commit | 6466292a7e47f3adfeb6721cf16e6b78b1c76625 (patch) | |
tree | 6b6def69d3527330496182d551d8e7910de38a39 /libc | |
parent | 6e15edcca5f5b35221b33e9994c236f148cb3c38 (diff) | |
download | android_bionic-6466292a7e47f3adfeb6721cf16e6b78b1c76625.tar.gz android_bionic-6466292a7e47f3adfeb6721cf16e6b78b1c76625.tar.bz2 android_bionic-6466292a7e47f3adfeb6721cf16e6b78b1c76625.zip |
Reduce <signal.h> namespace pollution.
<signal.h> shouldn't drag in all of <string.h>.
Change-Id: I57aea36dad5e89ea2f9541c35594ca6225e532be
Diffstat (limited to 'libc')
-rw-r--r-- | libc/bionic/sigemptyset.cpp | 1 | ||||
-rw-r--r-- | libc/bionic/sigfillset.cpp | 1 | ||||
-rw-r--r-- | libc/include/signal.h | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/libc/bionic/sigemptyset.cpp b/libc/bionic/sigemptyset.cpp index 8d8033f99..58166a1a9 100644 --- a/libc/bionic/sigemptyset.cpp +++ b/libc/bionic/sigemptyset.cpp @@ -28,6 +28,7 @@ #include <errno.h> #include <signal.h> +#include <string.h> int sigemptyset(sigset_t* set) { if (set == NULL) { diff --git a/libc/bionic/sigfillset.cpp b/libc/bionic/sigfillset.cpp index 37792e55b..cb673942e 100644 --- a/libc/bionic/sigfillset.cpp +++ b/libc/bionic/sigfillset.cpp @@ -28,6 +28,7 @@ #include <errno.h> #include <signal.h> +#include <string.h> int sigfillset(sigset_t* set) { if (set == NULL) { diff --git a/libc/include/signal.h b/libc/include/signal.h index 898888809..39d37e9cb 100644 --- a/libc/include/signal.h +++ b/libc/include/signal.h @@ -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> |