summaryrefslogtreecommitdiff
path: root/libf2c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-18 16:37:14 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-18 16:37:14 +0000
commit1a267a6ddd4896d1402e72fa34a9e2637bba8870 (patch)
tree040343ae832b244e21d19c3bad8cd39ac736242d /libf2c
parentcab748332582639e3c7b9768e5b487250a620cfc (diff)
downloadgcc-1a267a6ddd4896d1402e72fa34a9e2637bba8870.tar.gz
* libU77/date_.c (G77_date_y2kbuggy_0): Declare G77_abort_0 noreturn.
* libU77/vxtidate_.c (G77_vxtidate_y2kbuggy_0): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60256 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libf2c')
-rw-r--r--libf2c/ChangeLog5
-rw-r--r--libf2c/libU77/date_.c2
-rw-r--r--libf2c/libU77/vxtidate_.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog
index 67ba194f301..591586586db 100644
--- a/libf2c/ChangeLog
+++ b/libf2c/ChangeLog
@@ -1,3 +1,8 @@
+Wed Dec 18 11:33:35 2002 Jason Merrill <jason@redhat.com>
+
+ * libU77/date_.c (G77_date_y2kbuggy_0): Declare G77_abort_0 noreturn.
+ * libU77/vxtidate_.c (G77_vxtidate_y2kbuggy_0): Likewise.
+
2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Remove skip-this-dir support.
diff --git a/libf2c/libU77/date_.c b/libf2c/libU77/date_.c
index 306cc5f2da4..973d01470f7 100644
--- a/libf2c/libU77/date_.c
+++ b/libf2c/libU77/date_.c
@@ -49,7 +49,7 @@ int
G77_date_y2kbuggy_0 (char *buf __attribute__ ((__unused__)),
ftnlen buf_len __attribute__ ((__unused__)))
{
- extern int G77_abort_0 ();
+ extern int G77_abort_0() __attribute__ ((noreturn));
fprintf (stderr, "%s\n", G77_Non_Y2K_Compliance_Message);
G77_abort_0 ();
}
diff --git a/libf2c/libU77/vxtidate_.c b/libf2c/libU77/vxtidate_.c
index 0563a9120d6..fb1395161a3 100644
--- a/libf2c/libU77/vxtidate_.c
+++ b/libf2c/libU77/vxtidate_.c
@@ -58,7 +58,7 @@ G77_vxtidate_y2kbuggy_0 (integer * m __attribute__ ((__unused__)),
integer * d __attribute__ ((__unused__)),
integer * y __attribute__ ((__unused__)))
{
- extern int G77_abort_0 ();
+ extern int G77_abort_0() __attribute__ ((noreturn));
fprintf (stderr, "%s\n", G77_Non_Y2K_Compliance_Message);
G77_abort_0 ();
}