[__NeXT__]: Don't declare setjmp or longjmp.
authorRichard Stallman <rms@gnu.org>
Tue, 26 Oct 1993 08:51:01 +0000 (08:51 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 26 Oct 1993 08:51:01 +0000 (08:51 +0000)
From-SVN: r5894

gcc/protoize.c

index 5e42fba33a76cd9b166f9015e2f630aa769788ec..ee1db6d213584b9043f75c4e5020bb25fbafc561 100644 (file)
@@ -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.  */