Commit e6e375cc by Aaron W. LaFramboise Committed by Aaron W. LaFramboise

* adaint.c (_gnat_set_close_on_exec): Mark parameters unused.

From-SVN: r97229
parent aab038d5
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> 2005-03-29 Robert Dewar <dewar@adacore.com>
* sem_res.adb (Resolve_Real_Literal): Generate warning if static * sem_res.adb (Resolve_Real_Literal): Generate warning if static
......
...@@ -2612,7 +2612,8 @@ get_gcc_version (void) ...@@ -2612,7 +2612,8 @@ get_gcc_version (void)
} }
int 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) #if defined (F_GETFD) && defined (FD_CLOEXEC) && ! defined (__vxworks)
int flags = fcntl (fd, F_GETFD, 0); int flags = fcntl (fd, F_GETFD, 0);
......
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