projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16578fa
)
More fallout from gets removal
author
Ulrich Drepper
<drepper@gmail.com>
Tue, 27 Dec 2011 14:57:25 +0000
(09:57 -0500)
committer
Ulrich Drepper
<drepper@gmail.com>
Sun, 1 Jan 2012 12:17:22 +0000
(07:17 -0500)
debug/tst-chk1.c
patch
|
blob
|
history
diff --git
a/debug/tst-chk1.c
b/debug/tst-chk1.c
index
0ec8ab0
..
7f0186e
100644
(file)
--- a/
debug/tst-chk1.c
+++ b/
debug/tst-chk1.c
@@
-33,6
+33,12
@@
#include <sys/socket.h>
#include <sys/un.h>
+__BEGIN_DECLS
+/* The <stdio.h> header does not include the declaration for gets
+ anymore when compiling with _GNU_SOURCE. Provide a copy here. */
+extern char *gets (char *__s);
+__END_DECLS
+
#define obstack_chunk_alloc malloc
#define obstack_chunk_free free