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:
Nick Clifton 2020-06-11 09:27:41 +01:00
parent f0aa30258a
commit 928055a369
2 changed files with 8 additions and 3 deletions

View File

@ -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.

View File

@ -1,6 +1,6 @@
extern void *foo();
void main()
int main (void)
{
foo();
}
foo(); return 0;
}