aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-26 08:51:01 +0000
committerRichard Stallman <rms@gnu.org>1993-10-26 08:51:01 +0000
commitbb1106c9b5966541aaf364116339fef0a68cb80c (patch)
tree207636ea6cef48b85c02091e10ab1c4f8135f525 /gcc/protoize.c
parent05f3fda388756b911406c06368d76fd410d84808 (diff)
downloadgcc-bb1106c9b5966541aaf364116339fef0a68cb80c.zip
gcc-bb1106c9b5966541aaf364116339fef0a68cb80c.tar.gz
gcc-bb1106c9b5966541aaf364116339fef0a68cb80c.tar.bz2
[__NeXT__]: Don't declare setjmp or longjmp.
From-SVN: r5894
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 5e42fba..ee1db6d 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. */