From: Richard Stallman Date: Tue, 26 Oct 1993 08:51:01 +0000 (+0000) Subject: [__NeXT__]: Don't declare setjmp or longjmp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb1106c9b5966541aaf364116339fef0a68cb80c;p=gcc.git [__NeXT__]: Don't declare setjmp or longjmp. From-SVN: r5894 --- diff --git a/gcc/protoize.c b/gcc/protoize.c index 5e42fba33a7..ee1db6d2135 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -163,12 +163,16 @@ extern int link (); extern int unlink (); extern int access (); extern int execvp (); +/* In 2.6, try deleting these decls entirely since setjmp.h should + take care of them. */ +#ifndef __NeXT__ #ifndef setjmp extern int setjmp (); #endif #ifndef longjmp extern void longjmp (); #endif +#endif #if 0 /* size_t from sys/types.h may fail to match GCC. If so, we would get a warning from this. */