1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

Fix gets problems

This commit is contained in:
Ulrich Drepper
2012-01-24 17:40:44 -05:00
parent d220b11777
commit b15549e6f8
4 changed files with 30 additions and 10 deletions

View File

@ -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)