diff options
author | Ben Elliston <bje@au.ibm.com> | 2007-10-19 12:24:39 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2007-10-19 22:24:39 +1000 |
commit | 6525c3f01e2e5870d83f645ad94f1a44619841bf (patch) | |
tree | 629f71fbbb9690219a4ea0fc9ac0951050113db2 /libgfortran/intrinsics | |
parent | 0eaf8b066cb91813974be215cb81f5defc09f94f (diff) | |
download | gcc-6525c3f01e2e5870d83f645ad94f1a44619841bf.zip gcc-6525c3f01e2e5870d83f645ad94f1a44619841bf.tar.gz gcc-6525c3f01e2e5870d83f645ad94f1a44619841bf.tar.bz2 |
signal.c (alarm_sub_i4): Mark conditionally unused parameters with __attribute__ ((unused)).
* intrinsics/signal.c (alarm_sub_i4): Mark conditionally unused
parameters with __attribute__ ((unused)).
(alarm_sub_i8): Likewise.
(alarm_sub_int_i4): Likewise.
(alarm_sub_int_i8): Likewise.
From-SVN: r129486
Diffstat (limited to 'libgfortran/intrinsics')
-rw-r--r-- | libgfortran/intrinsics/signal.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/libgfortran/intrinsics/signal.c b/libgfortran/intrinsics/signal.c index 84565e8..27d6222 100644 --- a/libgfortran/intrinsics/signal.c +++ b/libgfortran/intrinsics/signal.c @@ -136,7 +136,9 @@ extern void alarm_sub_i4 (int *, void (*)(int), GFC_INTEGER_4 *); iexport_proto(alarm_sub_i4); void -alarm_sub_i4 (int *seconds, void (*handler)(int), GFC_INTEGER_4 *status) +alarm_sub_i4 (int * seconds __attribute__ ((unused)), + void (*handler)(int) __attribute__ ((unused)), + GFC_INTEGER_4 *status) { #if defined (SIGALRM) && defined (HAVE_ALARM) && defined (HAVE_SIGNAL) if (status != NULL) @@ -164,7 +166,9 @@ extern void alarm_sub_i8 (int *, void (*)(int), GFC_INTEGER_8 *); iexport_proto(alarm_sub_i8); void -alarm_sub_i8 (int *seconds, void (*handler)(int), GFC_INTEGER_8 *status) +alarm_sub_i8 (int *seconds __attribute__ ((unused)), + void (*handler)(int) __attribute__ ((unused)), + GFC_INTEGER_8 *status) { #if defined (SIGALRM) && defined (HAVE_ALARM) && defined (HAVE_SIGNAL) if (status != NULL) @@ -193,7 +197,9 @@ extern void alarm_sub_int_i4 (int *, int *, GFC_INTEGER_4 *); iexport_proto(alarm_sub_int_i4); void -alarm_sub_int_i4 (int *seconds, int *handler, GFC_INTEGER_4 *status) +alarm_sub_int_i4 (int *seconds __attribute__ ((unused)), + int *handler __attribute__ ((unused)), + GFC_INTEGER_4 *status) { #if defined (SIGALRM) && defined (HAVE_ALARM) && defined (HAVE_SIGNAL) if (status != NULL) @@ -221,7 +227,9 @@ extern void alarm_sub_int_i8 (int *, int *, GFC_INTEGER_8 *); iexport_proto(alarm_sub_int_i8); void -alarm_sub_int_i8 (int *seconds, int *handler, GFC_INTEGER_8 *status) +alarm_sub_int_i8 (int *seconds __attribute__ ((unused)), + int *handler __attribute__ ((unused)), + GFC_INTEGER_8 *status) { #if defined (SIGALRM) && defined (HAVE_ALARM) && defined (HAVE_SIGNAL) if (status != NULL) |