mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 23:00:52 +08:00
* adaint.c (_gnat_set_close_on_exec): Mark parameters unused.
From-SVN: r97229
This commit is contained in:
parent
aab038d54a
commit
e6e375cc1b
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user