diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 451e970c8f67e24072e21f8e7bca429549fc71a3..b36fc5b601069e7d1bd9b92ca9b257ab49ae2176 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-30  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
+
+	* adaint.c (_gnat_set_close_on_exec): Mark parameters unused.
+
 2005-03-29  Robert Dewar  <dewar@adacore.com>
 
 	* sem_res.adb (Resolve_Real_Literal): Generate warning if static
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
index 2195b49653294ede87036dafa402d64b4e3dc030..2760cc6c8bc89b84050113f9e7a541d3b9c91937 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);