aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-01-07 02:46:09 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-01-07 02:46:09 -0800
commit344450940e598982ed360e906cb239ef2df9000a (patch)
tree6f2aa9dcc8346e4d57698fdaf32e2eef3988de45
parent42110e7b0f32c645e044e814e6d8f44823c7c53d (diff)
downloadgcc-344450940e598982ed360e906cb239ef2df9000a.zip
gcc-344450940e598982ed360e906cb239ef2df9000a.tar.gz
gcc-344450940e598982ed360e906cb239ef2df9000a.tar.bz2
collect2.c (COFF specific stuff): Revert 12-06 patch to prototype system functions.
* collect2.c (COFF specific stuff): Revert 12-06 patch to prototype system functions. From-SVN: r38768
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/collect2.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bcdb2ba..20a4439 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-07 Richard Henderson <rth@redhat.com>
+
+ * collect2.c (COFF specific stuff): Revert 12-06 patch
+ to prototype system functions.
+
2001-01-07 Michael Hayes <mhayes@redhat.com>
* hard-reg-set.h: Add multiple include guard.
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 27ce9c3..c24cefa 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -2688,9 +2688,7 @@ scan_libraries (prog_name)
|| (HEADER (X).f_magic == 0757 && aix64_flag))
#endif
-extern char *ldgetname PARAMS ((LDFILE *, GCC_SYMENT *));
-extern int ldtbread PARAMS ((LDFILE *, long, GCC_SYMENT *));
-extern int ldclose PARAMS ((LDFILE *));
+extern char *ldgetname ();
/* COFF version to scan the name list of the loaded program for
the symbols g++ uses for static constructors and destructors.