about summary refs log tree commit diff
path: root/stdio-common/tst-gets.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 /stdio-common/tst-gets.c
parentd220b1177777a2cd00d1b1eae62e1071a17ab46b (diff)
downloadglibc-b15549e6f8d5936c4312b022ac8910823f2c2280.tar.gz
glibc-b15549e6f8d5936c4312b022ac8910823f2c2280.tar.xz
glibc-b15549e6f8d5936c4312b022ac8910823f2c2280.zip
Fix gets problems
Diffstat (limited to 'stdio-common/tst-gets.c')
-rw-r--r--stdio-common/tst-gets.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/stdio-common/tst-gets.c b/stdio-common/tst-gets.c
index 463f345e0e..79758935d8 100644
--- a/stdio-common/tst-gets.c
+++ b/stdio-common/tst-gets.c
@@ -1,5 +1,5 @@
 /* Tests for gets.
-   Copyright (C) 2001, 2011 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2011, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
 
@@ -21,10 +21,6 @@
 #include <stdio.h>
 #include <string.h>
 
-/* 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);
-
 
 int
 main (void)