about summary refs log tree commit diff
path: root/debug/tst-chk1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-24 17:40:44 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-24 17:40:44 -0500
commitb15549e6f8d5936c4312b022ac8910823f2c2280 (patch)
tree9e0a26dfb17b4e9c3cb89a38d5ec9a7f460236de /debug/tst-chk1.c
parentd220b1177777a2cd00d1b1eae62e1071a17ab46b (diff)
downloadglibc-b15549e6f8d5936c4312b022ac8910823f2c2280.tar.gz
glibc-b15549e6f8d5936c4312b022ac8910823f2c2280.tar.xz
glibc-b15549e6f8d5936c4312b022ac8910823f2c2280.zip
Fix gets problems
Diffstat (limited to 'debug/tst-chk1.c')
-rw-r--r--debug/tst-chk1.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/debug/tst-chk1.c b/debug/tst-chk1.c
index 2593ab9f18..21419eec76 100644
--- a/debug/tst-chk1.c
+++ b/debug/tst-chk1.c
@@ -34,11 +34,6 @@
 #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