mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 19:23:34 +08:00
Remove gets declarations in C++ tests.
This commit is contained in:
parent
83cf1b9f02
commit
bdb6de1d6d
@ -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
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include "tst-unique3.h"
|
||||
extern char *gets (char *);
|
||||
|
||||
#include <cstdio>
|
||||
#include "../dlfcn/dlfcn.h"
|
||||
|
@ -1,5 +1,3 @@
|
||||
extern char *gets (char *);
|
||||
|
||||
#include <cstdio>
|
||||
#include "tst-unique3.h"
|
||||
template<typename T> int S<T>::i = 1;
|
||||
|
@ -1,5 +1,3 @@
|
||||
extern char *gets (char *);
|
||||
|
||||
#include <cstdio>
|
||||
#include "tst-unique3.h"
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
// BZ 12511
|
||||
#include "tst-unique4.h"
|
||||
extern char *gets (char *);
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user