diff options
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-cdtest/cdtest-main.cc | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-shared/sh1.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 9355b9bc..ff12750 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -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 diff --git a/ld/testsuite/ld-cdtest/cdtest-main.cc b/ld/testsuite/ld-cdtest/cdtest-main.cc index 4b99b5c..bc881da 100644 --- a/ld/testsuite/ld-cdtest/cdtest-main.cc +++ b/ld/testsuite/ld-cdtest/cdtest-main.cc @@ -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"); diff --git a/ld/testsuite/ld-shared/sh1.c b/ld/testsuite/ld-shared/sh1.c index e31e06a..20f183c 100644 --- a/ld/testsuite/ld-shared/sh1.c +++ b/ld/testsuite/ld-shared/sh1.c @@ -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 () |