summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-01-25 16:50:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-01-25 16:50:17 +0000
commitbdb6de1d6d5d2a538e34fd453331acd0f664f6ed (patch)
treebcfbf089ffa2300cdbb1f089fbd9aa963fc4a721 /elf
parent83cf1b9f0244a6c6b420de88f19d707f2c2e5247 (diff)
downloadglibc-bdb6de1d6d5d2a538e34fd453331acd0f664f6ed.tar.gz
glibc-bdb6de1d6d5d2a538e34fd453331acd0f664f6ed.tar.xz
glibc-bdb6de1d6d5d2a538e34fd453331acd0f664f6ed.zip
Remove gets declarations in C++ tests.
Diffstat (limited to 'elf')
-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
4 files changed, 0 insertions, 6 deletions
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index ec1e814b18..efdd6d78c2 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 5429dc57c0..fa8e85a36c 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 76dadcaae7..17d817e12e 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 e38ae83748..575c70d3a1 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>