2000-12-06 Rodney Brown <RodneyBrown@mynd.com>
+ * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
+ * collect2.c (scan_libraries): Remove unused `ch'.
+ (COFF specific stuff): Prototype ldgetname. Declare and prototype
+ ldbtread and ldclose.
+
* config/alpha/osf.h: Standarize copyright statement.
* config/arc/arc.h: Likewise.
* config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
/* Read each line of ldd output. */
while (fgets (buf, sizeof buf, inf) != (char *) 0)
{
- int ch, ch2;
+ int ch2;
char *name, *end, *p = buf;
/* Extract names of libraries and add to list. */
|| (HEADER (X).f_magic == 0757 && aix64_flag))
#endif
-extern char *ldgetname ();
+extern char *ldgetname PARAMS ((LDFILE *, GCC_SYMENT *));
+extern int ldtbread PARAMS ((LDFILE *, long, GCC_SYMENT *));
+extern int ldclose PARAMS ((LDFILE *));
/* COFF version to scan the name list of the loaded program for
the symbols g++ uses for static constructors and destructors.