diff options
author | Roland McGrath <roland@gnu.org> | 2005-07-18 03:37:20 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-07-18 03:37:20 +0000 |
commit | d06b31ce649ed4c50059e3e9a547ec094b4b96c7 (patch) | |
tree | 60ba0d0b2ac2b8b8aced3070eebc35b92487ce90 /sysdeps | |
parent | 26b5633d7b7285d4d17dff60f9716dfe9ef8e26f (diff) | |
download | glibc-d06b31ce649ed4c50059e3e9a547ec094b4b96c7.tar.gz glibc-d06b31ce649ed4c50059e3e9a547ec094b4b96c7.tar.xz glibc-d06b31ce649ed4c50059e3e9a547ec094b4b96c7.zip |
005-06-17 Ulrich Drepper <drepper@redhat.com>
[BZ #1106] * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler to use __GI_memset. * sysdeps/posix/signal.c: Likewise. * sysdeps/posix/sigset.c: Likewise. * sysdeps/posix/sysv_signal.c: Likewise. * sysdeps/unix/sysv/linux/sleep.c: Likewise. * sysdeps/unix/sysv/linux/sysctl.c: Likewise. * sysdeps/unix/sysv/linux/system.c: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/posix/sigignore.c | 2 | ||||
-rw-r--r-- | sysdeps/posix/signal.c | 1 | ||||
-rw-r--r-- | sysdeps/posix/sigset.c | 1 | ||||
-rw-r--r-- | sysdeps/posix/sysv_signal.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sleep.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sysctl.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/system.c | 1 |
7 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/posix/sigignore.c b/sysdeps/posix/sigignore.c index 361a19e0dc..4fff563197 100644 --- a/sysdeps/posix/sigignore.c +++ b/sysdeps/posix/sigignore.c @@ -22,6 +22,8 @@ #define __need_NULL #include <stddef.h> #include <signal.h> +#include <string.h> /* For the real memset prototype. */ + int sigignore (sig) diff --git a/sysdeps/posix/signal.c b/sysdeps/posix/signal.c index 9a8efee043..076d120e35 100644 --- a/sysdeps/posix/signal.c +++ b/sysdeps/posix/signal.c @@ -19,6 +19,7 @@ #include <errno.h> #include <signal.h> +#include <string.h> /* For the real memset prototype. */ sigset_t _sigintr attribute_hidden; /* Set by siginterrupt. */ diff --git a/sysdeps/posix/sigset.c b/sysdeps/posix/sigset.c index 873c1cb1e6..e995c73898 100644 --- a/sysdeps/posix/sigset.c +++ b/sysdeps/posix/sigset.c @@ -20,6 +20,7 @@ #define __need_NULL #include <stddef.h> #include <signal.h> +#include <string.h> /* For the real memset prototype. */ /* Set the disposition for SIG. */ diff --git a/sysdeps/posix/sysv_signal.c b/sysdeps/posix/sysv_signal.c index ca2e84f372..9908051206 100644 --- a/sysdeps/posix/sysv_signal.c +++ b/sysdeps/posix/sysv_signal.c @@ -18,6 +18,8 @@ #include <errno.h> #include <signal.h> +#include <string.h> /* For the real memset prototype. */ + /* Tolerate non-threads versions of Posix */ #ifndef SA_ONESHOT diff --git a/sysdeps/unix/sysv/linux/sleep.c b/sysdeps/unix/sysv/linux/sleep.c index d94e4f62fd..4f2b8acc55 100644 --- a/sysdeps/unix/sysv/linux/sleep.c +++ b/sysdeps/unix/sysv/linux/sleep.c @@ -21,6 +21,7 @@ #include <errno.h> #include <time.h> #include <signal.h> +#include <string.h> /* For the real memset prototype. */ #include <unistd.h> #include <sys/param.h> diff --git a/sysdeps/unix/sysv/linux/sysctl.c b/sysdeps/unix/sysv/linux/sysctl.c index 7e601acf2c..1cdeb12638 100644 --- a/sysdeps/unix/sysv/linux/sysctl.c +++ b/sysdeps/unix/sysv/linux/sysctl.c @@ -18,6 +18,7 @@ 02111-1307 USA. */ #include <errno.h> +#include <string.h> /* For the real memset prototype. */ #include <sys/sysctl.h> #include <sysdep.h> diff --git a/sysdeps/unix/sysv/linux/system.c b/sysdeps/unix/sysv/linux/system.c index 3fdff04c22..688487cb9f 100644 --- a/sysdeps/unix/sysv/linux/system.c +++ b/sysdeps/unix/sysv/linux/system.c @@ -18,6 +18,7 @@ #include <sched.h> #include <signal.h> +#include <string.h> /* For the real memset prototype. */ #include <sysdep.h> #include <unistd.h> #include <sys/wait.h> |