diff options
author | Jason Merrill <jason@redhat.com> | 2002-12-18 11:37:14 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2002-12-18 11:37:14 -0500 |
commit | 235678dcec5826b0c5f2a92b43f35f96f89c1ee7 (patch) | |
tree | 040343ae832b244e21d19c3bad8cd39ac736242d /libf2c | |
parent | fc883552917583774bd3cbdc3c9a92cd1b8c0346 (diff) | |
download | gcc-235678dcec5826b0c5f2a92b43f35f96f89c1ee7.zip gcc-235678dcec5826b0c5f2a92b43f35f96f89c1ee7.tar.gz gcc-235678dcec5826b0c5f2a92b43f35f96f89c1ee7.tar.bz2 |
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
Diffstat (limited to 'libf2c')
-rw-r--r-- | libf2c/ChangeLog | 5 | ||||
-rw-r--r-- | libf2c/libU77/date_.c | 2 | ||||
-rw-r--r-- | libf2c/libU77/vxtidate_.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog index 67ba194..5915865 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 306cc5f..973d014 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 0563a91..fb13951 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 (); } |