mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
Add prototype to gold tests.
2010-04-09 H.J. Lu <hongjiu.lu@intel.com> * testsuite/plugin_common_test_1.c (foo): Add prototype. * testsuite/plugin_common_test_2.c (foo): Likewise.
This commit is contained in:
parent
1e5d2fb127
commit
721ea635af
@ -1,3 +1,8 @@
|
||||
2010-04-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* testsuite/plugin_common_test_1.c (foo): Add prototype.
|
||||
* testsuite/plugin_common_test_2.c (foo): Likewise.
|
||||
|
||||
2010-04-08 Doug Kwan <dougkwan@google.com>
|
||||
|
||||
* merge.cc (Output_merge_data::set_final_data_size): Handle empty
|
||||
|
@ -32,6 +32,8 @@ extern int c3;
|
||||
int c4;
|
||||
int c5 = 50;
|
||||
|
||||
extern void foo (void);
|
||||
|
||||
int
|
||||
main (int argc __attribute__ ((unused)), char** argv __attribute__ ((unused)))
|
||||
{
|
||||
|
@ -32,8 +32,10 @@ int c3;
|
||||
int c4 = 40;
|
||||
int c5;
|
||||
|
||||
extern void foo (void);
|
||||
|
||||
void
|
||||
foo ()
|
||||
foo (void)
|
||||
{
|
||||
c1 = 10;
|
||||
c2 = 20;
|
||||
|
Loading…
Reference in New Issue
Block a user