From 2bdba6c9ec9f69ced92ed8a314cf53f420adba2a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 9 Jun 1999 03:04:03 +0000 Subject: [PATCH] * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning. * ld-shared/sh1.c: Fix typo. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-cdtest/cdtest-main.cc | 2 +- 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 9355b9bcbbe..ff12750626f 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 9 12:02:33 1999 Andreas Schwab + + * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning. + * ld-shared/sh1.c: Fix typo. + 1999-06-04 H.J. Lu * 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 4b99b5c5f0f..bc881da4302 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 e31e06a2594..20f183c2642 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 () -- 2.30.2