Skip to content

Commit

Permalink
Remove gets declarations in C++ tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsm28 committed Jan 25, 2012
1 parent 83cf1b9 commit bdb6de1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2012-01-25 Joseph Myers <[email protected]>

* 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 <[email protected]>

* include/stdio.h: Add C++ protection. Add gets declarations and
Expand Down
1 change: 0 additions & 1 deletion elf/tst-unique3.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "tst-unique3.h"
extern char *gets (char *);

#include <cstdio>
#include "../dlfcn/dlfcn.h"
Expand Down
2 changes: 0 additions & 2 deletions elf/tst-unique3lib.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
extern char *gets (char *);

#include <cstdio>
#include "tst-unique3.h"
template<typename T> int S<T>::i = 1;
Expand Down
2 changes: 0 additions & 2 deletions elf/tst-unique3lib2.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
extern char *gets (char *);

#include <cstdio>
#include "tst-unique3.h"

Expand Down
1 change: 0 additions & 1 deletion elf/tst-unique4.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// BZ 12511
#include "tst-unique4.h"
extern char *gets (char *);

#include <cstdio>

Expand Down

0 comments on commit bdb6de1

Please sign in to comment.