aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-socket.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2012-10-29 12:41:01 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2012-10-29 12:41:01 +0100
commit6db566c308dd9ecf9e82938d7bec32884a596e74 (patch)
tree3beb37af116d2dcf9f705e6d213741c7822895b3 /gcc/ada/g-socket.adb
parent43254605cb483d1f7fd5f8df8390d29e4442ba4e (diff)
downloadgcc-6db566c308dd9ecf9e82938d7bec32884a596e74.zip
gcc-6db566c308dd9ecf9e82938d7bec32884a596e74.tar.gz
gcc-6db566c308dd9ecf9e82938d7bec32884a596e74.tar.bz2
[multiple changes]
2012-10-29 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Document that pragma Optimize_Alignment (Space) is ignored with a warning for packed variable length records. 2012-10-29 Thomas Quinot <quinot@adacore.com> * socket.c, g-socthi-dummy.adb, g-socthi-dummy.ads, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads, s-oscons-tmplt.c, g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads, xoscons.adb, g-socket.adb, g-sothco.ads: Introduce an appropriate subtype for IOCTL requests, since these may be signed or unsigned. From-SVN: r192939
Diffstat (limited to 'gcc/ada/g-socket.adb')
-rw-r--r--gcc/ada/g-socket.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/g-socket.adb b/gcc/ada/g-socket.adb
index 731919b..c7b7120 100644
--- a/gcc/ada/g-socket.adb
+++ b/gcc/ada/g-socket.adb
@@ -80,7 +80,7 @@ package body GNAT.Sockets is
Shut_Write => SOSC.SHUT_WR,
Shut_Read_Write => SOSC.SHUT_RDWR);
- Requests : constant array (Request_Name) of C.int :=
+ Requests : constant array (Request_Name) of SOSC.IOCTL_Req_T :=
(Non_Blocking_IO => SOSC.FIONBIO,
N_Bytes_To_Read => SOSC.FIONREAD);