From d8e67031e252883c67c67954937c7219b848e69c Mon Sep 17 00:00:00 2001 From: Kaveh Ghazi Date: Fri, 17 Apr 1998 08:26:33 +0000 Subject: Zap some warnings in target files: * frame.c: Include stdlib.h and unistd.h to possibly get various function prototypes. The fixproto script guarantees these header files exist on the target system. * libgcc2.c: Likewise. * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock, __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the function parameters. * libgcc2.c (__udiv_w_sdiv): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@19261 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/frame.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/frame.c') diff --git a/gcc/frame.c b/gcc/frame.c index 4c387210c15..6a81e41c2e2 100644 --- a/gcc/frame.c +++ b/gcc/frame.c @@ -32,6 +32,11 @@ Boston, MA 02111-1307, USA. */ do not apply. */ #include "tconfig.h" + +/* fixproto guarantees these system headers exist. */ +#include +#include + #include "defaults.h" #ifdef DWARF2_UNWIND_INFO -- cgit v1.2.3