* collect2.c (ldgetname): Expand declaration to prototype.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jan 2003 02:25:07 +0000 (02:25 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jan 2003 02:25:07 +0000 (02:25 +0000)
        * read-rtl.c (atoll): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61489 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/collect2.c
gcc/read-rtl.c

index f300181..3655168 100644 (file)
@@ -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.
index 59bbb80..c328798 100644 (file)
@@ -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.
index 3869f70..95bc2fe 100644 (file)
@@ -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;