Fix a compile time warning in the linker testsuite when compiling using clang.
* testsuite/ld-elf/pr26094-1b.c (main): Change return type to int.
This commit is contained in:
parent
f0aa30258a
commit
928055a369
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2020-06-11 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* testsuite/ld-elf/pr26094-1b.c (main): Change return type to
|
||||
int.
|
||||
|
||||
2020-06-10 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/ld-elf/linux-x86.exp: Build tests when non-native.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
extern void *foo();
|
||||
|
||||
void main()
|
||||
int main (void)
|
||||
{
|
||||
foo();
|
||||
}
|
||||
foo(); return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue