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
#include <unistd.h>
#else
+#ifndef L_trampoline
#include <stddef.h>
#ifndef malloc
extern void *malloc (size_t);
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