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.15-175-g35c47e3
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 17 Feb 2012 01:13:44 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-175-g35c47e3
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 35c47e37b99f20d198a5bfaae9f39b1cfb216d80 (commit)
from 0a0a5bd4f16023fc35abdca5f7dc2784b3a482d5 (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=35c47e37b99f20d198a5bfaae9f39b1cfb216d80
commit 35c47e37b99f20d198a5bfaae9f39b1cfb216d80
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Feb 17 01:13:15 2012 +0000
Include <stdlib.h> in argp examples.
diff --git a/ChangeLog b/ChangeLog
index 58d02d6..7baf3e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-02-17 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #10140]
+ * manual/examples/argp-ex1.c: Include <stdlib.h>.
+ * manual/examples/argp-ex2.c: Likewise.
+ * manual/examples/argp-ex3.c: Likewise.
+
2012-02-16 Richard Henderson <rth@redhat.com>
* sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
diff --git a/NEWS b/NEWS
index c2c2391..b8cce18 100644
--- a/NEWS
+++ b/NEWS
@@ -9,8 +9,8 @@ Version 2.16
* The following bugs are resolved with this release:
- 411, 4822, 11494, 13525, 13526, 13527, 13528, 13529, 13531, 13532, 13533,
- 13547, 13530, 13551, 13552, 13553, 13555, 13559, 13583, 13618
+ 411, 4822, 10140, 11494, 13525, 13526, 13527, 13528, 13529, 13531, 13532,
+ 13533, 13547, 13530, 13551, 13552, 13553, 13555, 13559, 13583, 13618
* ISO C11 support:
diff --git a/manual/examples/argp-ex1.c b/manual/examples/argp-ex1.c
index 50ac0ed..7bb5f22 100644
--- a/manual/examples/argp-ex1.c
+++ b/manual/examples/argp-ex1.c
@@ -5,6 +5,7 @@
messages and exit when there are any arguments, and print
a (rather pointless) messages for --help. */
+#include <stdlib.h>
#include <argp.h>
int main (int argc, char **argv)
diff --git a/manual/examples/argp-ex2.c b/manual/examples/argp-ex2.c
index 313c681..c49fbac 100644
--- a/manual/examples/argp-ex2.c
+++ b/manual/examples/argp-ex2.c
@@ -19,6 +19,7 @@
for a given program, even if it uses different argument
parsers for various tasks). */
+#include <stdlib.h>
#include <argp.h>
const char *argp_program_version =
diff --git a/manual/examples/argp-ex3.c b/manual/examples/argp-ex3.c
index 0ea9ce0..a8a48ea 100644
--- a/manual/examples/argp-ex3.c
+++ b/manual/examples/argp-ex3.c
@@ -52,6 +52,7 @@
An options vector should be terminated by an option with all fields zero. */
+#include <stdlib.h>
#include <argp.h>
const char *argp_program_version =
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
NEWS | 4 ++--
manual/examples/argp-ex1.c | 1 +
manual/examples/argp-ex2.c | 1 +
manual/examples/argp-ex3.c | 1 +
5 files changed, 12 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources