diff options
author | David Edelsohn <edelsohn@gnu.org> | 2003-01-20 02:25:07 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2003-01-19 21:25:07 -0500 |
commit | 825c54081640b6e91cca1f082a068d29d9da4a03 (patch) | |
tree | a3c9ee567266263caf6e51e326d6afe0d74d2a20 /gcc | |
parent | 77d187bc372365b738efc866a03e85e0130c008d (diff) | |
download | gcc-825c54081640b6e91cca1f082a068d29d9da4a03.zip gcc-825c54081640b6e91cca1f082a068d29d9da4a03.tar.gz gcc-825c54081640b6e91cca1f082a068d29d9da4a03.tar.bz2 |
collect2.c (ldgetname): Expand declaration to prototype.
* collect2.c (ldgetname): Expand declaration to prototype.
* read-rtl.c (atoll): Add prototype.
From-SVN: r61489
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/collect2.c | 2 | ||||
-rw-r--r-- | gcc/read-rtl.c | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f300181..3655168 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-19 David Edelsohn <edelsohn@gnu.org> + + * collect2.c (ldgetname): Expand declaration to prototype. + * read-rtl.c (atoll): Add prototype. + 2003-01-19 Alexandre Oliva <aoliva@redhat.com> * config.gcc (mips64*-*-linux*): Added. diff --git a/gcc/collect2.c b/gcc/collect2.c index 59bbb80..c328798 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 3869f70..95bc2fe 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; |