Commit 2f9e65b1 by Michael Meissner Committed by Michael Meissner

Do not include stddef.h if building trampoline support and inhibit_libc is defined

From-SVN: r29831
parent 139fa6f8
Tue Oct 5 15:37:04 1999 Michael Meissner <meissner@cygnus.com>
* libgcc2.c (toplevel): If inhibit_libc is defined, declare
malloc, free, and atexit. Don't include stddef.h twice.
* libgcc2.c (toplevel): If inhibit_libc is defined and not
building the trampoline support, declare malloc, free, and
atexit.
(__clear_cache): Mark arguments as potentially unused.
* frame.c (toplevel): If inhibit_libc is defined, declare
......
......@@ -42,6 +42,7 @@ Boston, MA 02111-1307, USA. */
#include <unistd.h>
#else
#ifndef L_trampoline
#include <stddef.h>
#ifndef malloc
extern void *malloc (size_t);
......@@ -53,10 +54,11 @@ extern void free (void *);
extern int atexit(void (*)(void));
#endif
#endif
#endif
#include "machmode.h"
#include "defaults.h"
#if !defined(L_trampoline) && !defined(inhibit_libc)
#ifndef L_trampoline
#include <stddef.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment