aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-12-29 21:22:16 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-12-29 21:22:16 +0000
commitec6bfc9b7ca1e855c15cc9b6875f718a5850f060 (patch)
tree95ccb57dcefe87623710608328cb7388663cc4e8 /gcc/libgcc2.c
parent9d0878fd43180c9746c7fa23954858c139059291 (diff)
downloadgcc-ec6bfc9b7ca1e855c15cc9b6875f718a5850f060.zip
gcc-ec6bfc9b7ca1e855c15cc9b6875f718a5850f060.tar.gz
gcc-ec6bfc9b7ca1e855c15cc9b6875f718a5850f060.tar.bz2
crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
* crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h. Otherwise provide a declaration for atexit. (init_dummy): Make sure dummy call to atexit is nevertheless called with correct number of args. * frame.c: Update comments referring to other files. * libgcc2.c: Likewise. From-SVN: r31124
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 7cba424..8a1b703 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -35,7 +35,7 @@ Boston, MA 02111-1307, USA. */
/* We disable this when inhibit_libc, so that gcc can still be built without
needing header files first. */
/* ??? This is not a good solution, since prototypes may be required in
- some cases for correct code. See also frame.c. */
+ some cases for correct code. See also frame.c/crtstuff.c. */
#ifndef inhibit_libc
/* fixproto guarantees these system headers exist. */
#include <stdlib.h>