Commit 304a3a85 by Kaveh R. Ghazi Committed by Kaveh Ghazi

f2cext.c (alarm_): Mark parameter(s) with attribute `unused'.

	* f2cext.c (alarm_): Mark parameter(s) with attribute `unused'.
	* libF77/h_len.c (h_len): Likewise.
	* libF77/i_len.c (i_len): Likewise.
	* libI77/rsli.c (i_ungetc): Likewise.
	* libU77/date_.c (G77_date_y2kbuggy_0): Likewise.
	* libU77/fputc_.c (G77_fputc_0): Likewise.
	* libU77/vxtidate_.c (G77_vxtidate_y2kbuggy_0): Likewise.
	* libU77/vxttime_.c (G77_vxttime_0): Likewise.

From-SVN: r54289
parent 540eaea8
Wed Jun 5 15:05:41 2002 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* f2cext.c (alarm_): Mark parameter(s) with attribute `unused'.
* libF77/h_len.c (h_len): Likewise.
* libF77/i_len.c (i_len): Likewise.
* libI77/rsli.c (i_ungetc): Likewise.
* libU77/date_.c (G77_date_y2kbuggy_0): Likewise.
* libU77/fputc_.c (G77_fputc_0): Likewise.
* libU77/vxtidate_.c (G77_vxtidate_y2kbuggy_0): Likewise.
* libU77/vxttime_.c (G77_vxttime_0): Likewise.
Mon Jun 3 22:24:48 2002 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> Mon Jun 3 22:24:48 2002 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libF77/main.c (f_setarg, f_setsig): Prototype. * libF77/main.c (f_setarg, f_setsig): Prototype.
......
...@@ -140,7 +140,8 @@ integer access_ (const char *name, const char *mode, ftnlen Lname, ftnlen Lmode) ...@@ -140,7 +140,8 @@ integer access_ (const char *name, const char *mode, ftnlen Lname, ftnlen Lmode)
#endif #endif
#ifdef Lalarm #ifdef Lalarm
integer alarm_ (integer *seconds, sig_proc proc, integer *status) { integer alarm_ (integer *seconds, sig_proc proc,
integer *status __attribute__ ((__unused__))) {
extern integer G77_alarm_0 (integer *seconds, sig_proc proc); extern integer G77_alarm_0 (integer *seconds, sig_proc proc);
return G77_alarm_0 (seconds, proc); return G77_alarm_0 (seconds, proc);
} }
......
#include "f2c.h" #include "f2c.h"
shortint shortint
h_len (char *s, ftnlen n) h_len (char *s __attribute__ ((__unused__)), ftnlen n)
{ {
return (n); return (n);
} }
#include "f2c.h" #include "f2c.h"
integer integer
i_len (char *s, ftnlen n) i_len (char *s __attribute__ ((__unused__)), ftnlen n)
{ {
return (n); return (n);
} }
...@@ -26,7 +26,8 @@ i_getc (void) ...@@ -26,7 +26,8 @@ i_getc (void)
} }
static int static int
i_ungetc (int ch, FILE * f) i_ungetc (int ch __attribute__ ((__unused__)),
FILE * f __attribute__ ((__unused__)))
{ {
if (--f__recpos == f__svic->icirlen) if (--f__recpos == f__svic->icirlen)
return '\n'; return '\n';
......
...@@ -46,7 +46,8 @@ const char *G77_Non_Y2K_Compliance_Message = ...@@ -46,7 +46,8 @@ const char *G77_Non_Y2K_Compliance_Message =
"Call to non Y2K compliant subroutine detected."; "Call to non Y2K compliant subroutine detected.";
int int
G77_date_y2kbuggy_0 (char *buf, ftnlen buf_len) G77_date_y2kbuggy_0 (char *buf __attribute__ ((__unused__)),
ftnlen buf_len __attribute__ ((__unused__)))
{ {
extern int G77_abort_0 (); extern int G77_abort_0 ();
fprintf (stderr, "%s\n", G77_Non_Y2K_Compliance_Message); fprintf (stderr, "%s\n", G77_Non_Y2K_Compliance_Message);
......
...@@ -27,7 +27,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,7 +27,8 @@ Boston, MA 02111-1307, USA. */
#include "fio.h" #include "fio.h"
integer integer
G77_fputc_0 (const integer * lunit, const char *c, const ftnlen Lc) G77_fputc_0 (const integer * lunit, const char *c,
const ftnlen Lc __attribute__ ((__unused__)))
{ {
int err; int err;
FILE *f = f__units[*lunit].ufd; FILE *f = f__units[*lunit].ufd;
......
...@@ -54,7 +54,9 @@ G77_vxtidate_y2kbug_0 (integer * m, integer * d, integer * y) ...@@ -54,7 +54,9 @@ G77_vxtidate_y2kbug_0 (integer * m, integer * d, integer * y)
#ifdef PIC #ifdef PIC
extern const char *G77_Non_Y2K_Compliance_Message; extern const char *G77_Non_Y2K_Compliance_Message;
int int
G77_vxtidate_y2kbuggy_0 (integer * m, integer * d, integer * y) 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 ();
fprintf (stderr, "%s\n", G77_Non_Y2K_Compliance_Message); fprintf (stderr, "%s\n", G77_Non_Y2K_Compliance_Message);
......
...@@ -40,7 +40,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -40,7 +40,8 @@ Boston, MA 02111-1307, USA. */
/* Subroutine */ /* Subroutine */
void void
G77_vxttime_0 (char chtime[8], const ftnlen Lchtime) G77_vxttime_0 (char chtime[8],
const ftnlen Lchtime __attribute__ ((__unused__)))
{ {
time_t tim; time_t tim;
char *ctim; char *ctim;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment