summaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.c
diff options
context:
space:
mode:
authorAaron W. LaFramboise <aaronavay62@aaronwl.com>2005-03-29 21:00:04 -0600
committerAaron W. LaFramboise <aaronwl@gcc.gnu.org>2005-03-29 21:00:04 -0600
commite6e375cc1b68818bb1b1cd617a11d16d63f42fba (patch)
tree7eab2fa89a28cafbc6e052312520a0da45abc6f0 /gcc/ada/adaint.c
parentaab038d54ae4614f347c0b446ff505fc204ad38e (diff)
downloadgcc-e6e375cc1b68818bb1b1cd617a11d16d63f42fba.tar.gz
* adaint.c (_gnat_set_close_on_exec): Mark parameters unused.
From-SVN: r97229
Diffstat (limited to 'gcc/ada/adaint.c')
-rw-r--r--gcc/ada/adaint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
index 2195b496532..2760cc6c8bc 100644
--- a/gcc/ada/adaint.c
+++ b/gcc/ada/adaint.c
@@ -2612,7 +2612,8 @@ get_gcc_version (void)
}
int
-__gnat_set_close_on_exec (int fd, int close_on_exec_p)
+__gnat_set_close_on_exec (int fd ATTRIBUTE_UNUSED,
+ int close_on_exec_p ATTRIBUTE_UNUSED)
{
#if defined (F_GETFD) && defined (FD_CLOEXEC) && ! defined (__vxworks)
int flags = fcntl (fd, F_GETFD, 0);