diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 1999-06-09 03:04:03 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 1999-06-09 03:04:03 +0000 |
commit | 2bdba6c9ec9f69ced92ed8a314cf53f420adba2a (patch) | |
tree | 00ed461d3a2dbc0f5a7bf1af87357e911e5c5872 /ld/testsuite | |
parent | 3026443322cbd6c93dc22d830ed766353b522bc0 (diff) | |
download | gdb-2bdba6c9ec9f69ced92ed8a314cf53f420adba2a.zip gdb-2bdba6c9ec9f69ced92ed8a314cf53f420adba2a.tar.gz gdb-2bdba6c9ec9f69ced92ed8a314cf53f420adba2a.tar.bz2 |
* ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
* ld-shared/sh1.c: Fix typo.
Diffstat (limited to 'ld/testsuite')
-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 () |