This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.17-243-gffaa74c
- From: siddhesh at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 18 Feb 2013 12:47:11 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.17-243-gffaa74c
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ffaa74cf68a370e232279a9a9b0a02ade287cc99 (commit)
from be179c8a36fc171acff0634ac50ad31269ad4742 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ffaa74cf68a370e232279a9a9b0a02ade287cc99
commit ffaa74cf68a370e232279a9a9b0a02ade287cc99
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Mon Feb 18 18:17:05 2013 +0530
Fix build warnings in some test cases
Include stdlib.h to get declaration of exit(3)
diff --git a/ChangeLog b/ChangeLog
index 0cc0fed..20a7aa1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
+ * nptl/sysdeps/pthread/tst-timer.c: Likewise.
+ * nptl/tst-barrier4.c: Likewise.
+ * nptl/tst-robust7.c: Likewise.
+
* elf/Versions (ld): Add _dl_find_dso_for_object.
* elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
* elf/dl-open.c (_dl_find_dso_for_object): New function.
diff --git a/misc/tst-pselect.c b/misc/tst-pselect.c
index 35d51d8..36bc46d 100644
--- a/misc/tst-pselect.c
+++ b/misc/tst-pselect.c
@@ -4,6 +4,7 @@
#include <unistd.h>
#include <sys/select.h>
#include <sys/wait.h>
+#include <stdlib.h>
static volatile int handler_called;
diff --git a/nptl/sysdeps/pthread/tst-timer.c b/nptl/sysdeps/pthread/tst-timer.c
index f46addd..fa1b6e7 100644
--- a/nptl/sysdeps/pthread/tst-timer.c
+++ b/nptl/sysdeps/pthread/tst-timer.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <time.h>
#include <unistd.h>
+#include <stdlib.h>
static void
diff --git a/nptl/tst-barrier4.c b/nptl/tst-barrier4.c
index 8b5b153..2836fb3 100644
--- a/nptl/tst-barrier4.c
+++ b/nptl/tst-barrier4.c
@@ -20,6 +20,7 @@
#include <errno.h>
#include <pthread.h>
#include <stdio.h>
+#include <stdlib.h>
static pthread_barrier_t b1;
diff --git a/nptl/tst-robust7.c b/nptl/tst-robust7.c
index e64a4fc..ed1857c 100644
--- a/nptl/tst-robust7.c
+++ b/nptl/tst-robust7.c
@@ -20,6 +20,7 @@
#include <pthread.h>
#include <stdbool.h>
#include <stdio.h>
+#include <stdlib.h>
static pthread_barrier_t b;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
misc/tst-pselect.c | 1 +
nptl/sysdeps/pthread/tst-timer.c | 1 +
nptl/tst-barrier4.c | 1 +
nptl/tst-robust7.c | 1 +
5 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources