Remove gets declarations in C++ tests.

This commit is contained in:
Joseph Myers 2012-01-25 16:50:17 +00:00
parent 83cf1b9f02
commit bdb6de1d6d
5 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2012-01-25 Joseph Myers <joseph@codesourcery.com>
* elf/tst-unique3.cc (gets): Remove declaration.
* elf/tst-unique3lib.cc (gets): Likewise.
* elf/tst-unique3lib2.cc (gets): Likewise.
* elf/tst-unique4.cc (gets): Likewise.
2012-01-24 Ulrich Drepper <drepper@gmail.com>
* include/stdio.h: Add C++ protection. Add gets declarations and

View File

@ -1,5 +1,4 @@
#include "tst-unique3.h"
extern char *gets (char *);
#include <cstdio>
#include "../dlfcn/dlfcn.h"

View File

@ -1,5 +1,3 @@
extern char *gets (char *);
#include <cstdio>
#include "tst-unique3.h"
template<typename T> int S<T>::i = 1;

View File

@ -1,5 +1,3 @@
extern char *gets (char *);
#include <cstdio>
#include "tst-unique3.h"

View File

@ -1,6 +1,5 @@
// BZ 12511
#include "tst-unique4.h"
extern char *gets (char *);
#include <cstdio>