Fix compilation warnings as otherwise we fail the test.

This commit is contained in:
Alan Modra 2000-11-06 10:07:06 +00:00
parent 5af20574b3
commit 1566ad5dd3
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2000-11-06 Alan Modra <alan@linuxcare.com.au>
* ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h.
(main): Prune unused args.
2000-10-29 Hans-Peter Nilsson <hp@bitrange.com>
* ld-selective/selective.exp <no CXX>: Fix typo for argument to

View File

@ -1,10 +1,9 @@
#ifdef PROTECTED_CHECK
#include <features.h>
#include <stdio.h>
int
main (argc, argv)
int argc;
char *argv[];
main (void)
{
#if defined (__GLIBC__) && (__GLIBC__ > 2 \
|| (__GLIBC__ == 2 \