From 235678dcec5826b0c5f2a92b43f35f96f89c1ee7 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 18 Dec 2002 11:37:14 -0500 Subject: [PATCH] date_.c (G77_date_y2kbuggy_0): Declare G77_abort_0 noreturn. * libU77/date_.c (G77_date_y2kbuggy_0): Declare G77_abort_0 noreturn. * libU77/vxtidate_.c (G77_vxtidate_y2kbuggy_0): Likewise. From-SVN: r60256 --- libf2c/ChangeLog | 5 +++++ libf2c/libU77/date_.c | 2 +- libf2c/libU77/vxtidate_.c | 2 +- 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 + + * 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 * 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 (); }