OSDN Git Service

* ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
authorschwab <schwab>
Wed, 9 Jun 1999 03:04:00 +0000 (03:04 +0000)
committerschwab <schwab>
Wed, 9 Jun 1999 03:04:00 +0000 (03:04 +0000)
* ld-shared/sh1.c: Fix typo.

ld/testsuite/ChangeLog
ld/testsuite/ld-cdtest/cdtest-main.cc
ld/testsuite/ld-shared/sh1.c

index 9355b9b..ff12750 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jun  9 12:02:33 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
+       * ld-shared/sh1.c: Fix typo.
+
 1999-06-04  H.J. Lu  <hjl@gnu.org>
 
        * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
index 4b99b5c..bc881da 100644 (file)
@@ -27,7 +27,7 @@ __init_start()
 
 static Foo static_foo( "static_foo"); 
 
-main() 
+int main() 
 { 
     assert (Foo::nb_foos() == 2);
     Foo automatic_foo( "automatic_foo");
index e31e06a..20f183c 100644 (file)
@@ -64,7 +64,7 @@ shlib_shlibcall ()
 /* This function calls a function defined in this object in the shared
    library.  The main program will override the called function.  */
 
-extern int shlib_overiddencall2 ();
+extern int shlib_overriddencall2 ();
 
 int
 shlib_shlibcall2 ()