]> sourceware.org Git - glibc.git/commitdiff
More fallout from gets removal
authorUlrich Drepper <drepper@gmail.com>
Tue, 27 Dec 2011 14:57:25 +0000 (09:57 -0500)
committerUlrich Drepper <drepper@gmail.com>
Sun, 1 Jan 2012 12:17:22 +0000 (07:17 -0500)
debug/tst-chk1.c

index 0ec8ab07d9e29c9b2fb6ce9fa90c9f0d20fd331b..7f0186e706e38cae941c2426812634dee7dd2306 100644 (file)
 #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
 
This page took 0.045201 seconds and 5 git commands to generate.