aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--elf/tst-unique3.cc1
-rw-r--r--elf/tst-unique3lib.cc2
-rw-r--r--elf/tst-unique3lib2.cc2
-rw-r--r--elf/tst-unique4.cc1
5 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index ffd4224..a0b355e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index ec1e814..efdd6d7 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,5 +1,4 @@
#include "tst-unique3.h"
-extern char *gets (char *);
#include <cstdio>
#include "../dlfcn/dlfcn.h"
diff --git a/elf/tst-unique3lib.cc b/elf/tst-unique3lib.cc
index 5429dc5..fa8e85a 100644
--- a/elf/tst-unique3lib.cc
+++ b/elf/tst-unique3lib.cc
@@ -1,5 +1,3 @@
-extern char *gets (char *);
-
#include <cstdio>
#include "tst-unique3.h"
template<typename T> int S<T>::i = 1;
diff --git a/elf/tst-unique3lib2.cc b/elf/tst-unique3lib2.cc
index 76dadca..17d817e 100644
--- a/elf/tst-unique3lib2.cc
+++ b/elf/tst-unique3lib2.cc
@@ -1,5 +1,3 @@
-extern char *gets (char *);
-
#include <cstdio>
#include "tst-unique3.h"
diff --git a/elf/tst-unique4.cc b/elf/tst-unique4.cc
index e38ae83..575c70d 100644
--- a/elf/tst-unique4.cc
+++ b/elf/tst-unique4.cc
@@ -1,6 +1,5 @@
// BZ 12511
#include "tst-unique4.h"
-extern char *gets (char *);
#include <cstdio>