aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.c
diff options
context:
space:
mode:
authorThomas Quinot <quinot@adacore.com>2013-09-10 14:58:22 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2013-09-10 16:58:22 +0200
commit860917b625a20ed2cc2d72bd86e89717966f6f92 (patch)
tree2c4e4339b74ae20e780c1d67dd69c45555187397 /gcc/ada/adaint.c
parent7fe6c026821c350ac3d8e6c005f03ca6ff831677 (diff)
downloadgcc-860917b625a20ed2cc2d72bd86e89717966f6f92.zip
gcc-860917b625a20ed2cc2d72bd86e89717966f6f92.tar.gz
gcc-860917b625a20ed2cc2d72bd86e89717966f6f92.tar.bz2
aspects.ads, [...]: Minor reformatting.
2013-09-10 Thomas Quinot <quinot@adacore.com> * aspects.ads, sem_ch13.adb: Minor reformatting. * adaint.c (__gnat_set_close_on_exec): Add comment documenting that this routine is shared between OS_Lib and Sockets. From-SVN: r202458
Diffstat (limited to 'gcc/ada/adaint.c')
-rw-r--r--gcc/ada/adaint.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
index c4bb754..850e1fc 100644
--- a/gcc/ada/adaint.c
+++ b/gcc/ada/adaint.c
@@ -3748,6 +3748,11 @@ get_gcc_version (void)
#endif
}
+/*
+ * Set Close_On_Exec as indicated.
+ * Note: this is used for both GNAT.OS_Lib and GNAT.Sockets.
+ */
+
int
__gnat_set_close_on_exec (int fd ATTRIBUTE_UNUSED,
int close_on_exec_p ATTRIBUTE_UNUSED)