diff options
author | Andreas Schwab <schwab@suse.de> | 2013-01-28 17:51:03 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2013-02-04 10:01:54 +0100 |
commit | 903ae060db90aa1d72aa67afbc5a5ecabdcdbef7 (patch) | |
tree | 765f691bf506bef1017d12024366e48ca17cb831 /nptl | |
parent | 542f94662e8235d9917b0783df70bcdf9d729503 (diff) | |
download | glibc-903ae060db90aa1d72aa67afbc5a5ecabdcdbef7.tar.gz glibc-903ae060db90aa1d72aa67afbc5a5ecabdcdbef7.tar.xz glibc-903ae060db90aa1d72aa67afbc5a5ecabdcdbef7.zip |
Don't use GLIBC_PRIVATE errno outside of libraries
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 8 | ||||
-rw-r--r-- | nptl/tst-cancel14.c | 1 | ||||
-rw-r--r-- | nptl/tst-cancel15.c | 1 | ||||
-rw-r--r-- | nptl/tst-mutex9.c | 3 | ||||
-rw-r--r-- | nptl/tst-stackguard1.c | 1 |
5 files changed, 14 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index c4f6c630cc..bcc1660b4d 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,11 @@ +2013-02-04 Andreas Schwab <schwab@suse.de> + + [BZ #14142] + * tst-cancel14.c: Include <sys/time.h>. + * tst-cancel15.c: Likewise. + * tst-mutex9.c: Include <stdint.h>, <stdlib.h> and <sys/time.h>. + * tst-stackguard1.c: Include <tls.h> + 2013-01-16 Andreas Schwab <schwab@suse.de> [BZ #14327] diff --git a/nptl/tst-cancel14.c b/nptl/tst-cancel14.c index fbaed4940f..ca9042d60a 100644 --- a/nptl/tst-cancel14.c +++ b/nptl/tst-cancel14.c @@ -23,6 +23,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <sys/time.h> static pthread_barrier_t bar; diff --git a/nptl/tst-cancel15.c b/nptl/tst-cancel15.c index 0119cc761f..3f320ad00d 100644 --- a/nptl/tst-cancel15.c +++ b/nptl/tst-cancel15.c @@ -23,6 +23,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <sys/time.h> static pthread_barrier_t bar; diff --git a/nptl/tst-mutex9.c b/nptl/tst-mutex9.c index adb3b61f09..1d689bd7e4 100644 --- a/nptl/tst-mutex9.c +++ b/nptl/tst-mutex9.c @@ -18,10 +18,13 @@ #include <errno.h> #include <pthread.h> +#include <stdint.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/mman.h> +#include <sys/time.h> #include <sys/wait.h> diff --git a/nptl/tst-stackguard1.c b/nptl/tst-stackguard1.c index f0f707f43a..57a48ad292 100644 --- a/nptl/tst-stackguard1.c +++ b/nptl/tst-stackguard1.c @@ -24,6 +24,7 @@ #include <string.h> #include <sys/wait.h> #include <stackguard-macros.h> +#include <tls.h> #include <unistd.h> static const char *command; |