mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
Fix compilation warnings as otherwise we fail the test.
This commit is contained in:
@ -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>
|
2000-10-29 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
* ld-selective/selective.exp <no CXX>: Fix typo for argument to
|
* ld-selective/selective.exp <no CXX>: Fix typo for argument to
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
#ifdef PROTECTED_CHECK
|
#ifdef PROTECTED_CHECK
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
main (argc, argv)
|
main (void)
|
||||||
int argc;
|
|
||||||
char *argv[];
|
|
||||||
{
|
{
|
||||||
#if defined (__GLIBC__) && (__GLIBC__ > 2 \
|
#if defined (__GLIBC__) && (__GLIBC__ > 2 \
|
||||||
|| (__GLIBC__ == 2 \
|
|| (__GLIBC__ == 2 \
|
||||||
|
Reference in New Issue
Block a user