From: Ulrich Drepper Date: Tue, 27 Dec 2011 14:57:25 +0000 (-0500) Subject: More fallout from gets removal X-Git-Tag: glibc-2.16-tps~1127^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ea79a616e43093f403927e425c197afe39196b7;p=thirdparty%2Fglibc.git More fallout from gets removal --- diff --git a/debug/tst-chk1.c b/debug/tst-chk1.c index 0ec8ab07d9e..7f0186e706e 100644 --- a/debug/tst-chk1.c +++ b/debug/tst-chk1.c @@ -33,6 +33,12 @@ #include #include +__BEGIN_DECLS +/* The 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