summaryrefslogtreecommitdiffstats
path: root/libf2c/libF77/s_stop.c
diff options
context:
space:
mode:
authorburley <burley@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-10 14:40:59 +0000
committerburley <burley@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-10 14:40:59 +0000
commit6db9aef0328beee539ee51e75e852e271a78c69c (patch)
tree2f60c099d0dc5fc900d95fee36cf23700d91cb55 /libf2c/libF77/s_stop.c
parent460fb0a0486c7b8fc34902e4834ff65da18611b8 (diff)
downloadppe42-gcc-6db9aef0328beee539ee51e75e852e271a78c69c.tar.gz
ppe42-gcc-6db9aef0328beee539ee51e75e852e271a78c69c.zip
Update to Netlib version of 1999-05-10
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26864 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libf2c/libF77/s_stop.c')
-rw-r--r--libf2c/libF77/s_stop.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libf2c/libF77/s_stop.c b/libf2c/libF77/s_stop.c
index 2e3f1035b30..975edb7d4ad 100644
--- a/libf2c/libF77/s_stop.c
+++ b/libf2c/libF77/s_stop.c
@@ -30,8 +30,13 @@ if(n > 0)
f_exit();
#endif
exit(0);
-#ifdef __cplusplus
+
+/* We cannot avoid (useless) compiler diagnostics here: */
+/* some compilers complain if there is no return statement, */
+/* and others complain that this one cannot be reached. */
+
return 0; /* NOT REACHED */
}
-#endif
+#ifdef __cplusplus
}
+#endif
OpenPOWER on IntegriCloud