mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Add explicit declaration of gets in C++ code
This commit is contained in:
parent
df78418ad7
commit
28926a1be1
@ -1,5 +1,10 @@
|
||||
2012-01-07 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* elf/tst-unique3.cc: Add explicit declaration of gets.
|
||||
* elf/tst-unique3lib.cc: Likewise.
|
||||
* elf/tst-unique3lib2.cc: Likewise.
|
||||
* elf/tst-unique4.cc: Likewise.
|
||||
|
||||
* string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
|
||||
|
||||
2012-01-03 Ulrich Drepper <drepper@gmail.com>
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include "tst-unique3.h"
|
||||
extern char *gets (char *);
|
||||
|
||||
#include <cstdio>
|
||||
#include "../dlfcn/dlfcn.h"
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
extern char *gets (char *);
|
||||
|
||||
#include <cstdio>
|
||||
#include "tst-unique3.h"
|
||||
template<typename T> int S<T>::i = 1;
|
||||
|
@ -1,3 +1,5 @@
|
||||
extern char *gets (char *);
|
||||
|
||||
#include <cstdio>
|
||||
#include "tst-unique3.h"
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// BZ 12511
|
||||
#include "tst-unique4.h"
|
||||
extern char *gets (char *);
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
static int a[24] =
|
||||
|
Loading…
Reference in New Issue
Block a user