From: David Edelsohn Date: Mon, 20 Jan 2003 02:25:07 +0000 (+0000) Subject: collect2.c (ldgetname): Expand declaration to prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=825c54081640b6e91cca1f082a068d29d9da4a03;p=gcc.git collect2.c (ldgetname): Expand declaration to prototype. * collect2.c (ldgetname): Expand declaration to prototype. * read-rtl.c (atoll): Add prototype. From-SVN: r61489 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f300181d287..3655168976a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-19 David Edelsohn + + * collect2.c (ldgetname): Expand declaration to prototype. + * read-rtl.c (atoll): Add prototype. + 2003-01-19 Alexandre Oliva * config.gcc (mips64*-*-linux*): Added. diff --git a/gcc/collect2.c b/gcc/collect2.c index 59bbb80ed24..c3287985adc 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -2720,7 +2720,7 @@ ignore_library (name) } #endif /* COLLECT_EXPORT_LIST */ -extern char *ldgetname (); +extern char *ldgetname PARAMS ((struct ldfile *, void *)); /* COFF version to scan the name list of the loaded program for the symbols g++ uses for static constructors and destructors. diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c index 3869f70dab3..95bc2fefa57 100644 --- a/gcc/read-rtl.c +++ b/gcc/read-rtl.c @@ -368,6 +368,8 @@ read_string (ob, infile, star_if_braced) /* Provide a version of a function to read a long long if the system does not provide one. */ #if HOST_BITS_PER_WIDE_INT > HOST_BITS_PER_LONG && !defined(HAVE_ATOLL) && !defined(HAVE_ATOQ) +HOST_WIDE_INT atoll PARAMS ((const char *)); + HOST_WIDE_INT atoll (p) const char *p;