From bdb6de1d6d5d2a538e34fd453331acd0f664f6ed Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 25 Jan 2012 16:50:17 +0000 Subject: Remove gets declarations in C++ tests. --- elf/tst-unique3.cc | 1 - elf/tst-unique3lib.cc | 2 -- elf/tst-unique3lib2.cc | 2 -- elf/tst-unique4.cc | 1 - 4 files changed, 6 deletions(-) (limited to 'elf') 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 #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 #include "tst-unique3.h" template int S::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 #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 -- cgit v1.2.1