aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-socthi-vms.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-04-29 15:47:42 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-29 15:47:42 +0200
commit51ec70b8be4c423e38fcbc6e49add3fbc16fe5bb (patch)
treef8c5efa510fefa4a36802cbc8fcf62ab4d7580b4 /gcc/ada/g-socthi-vms.ads
parent9e895ab50a0882df6e42fdb2995fec55258a26d6 (diff)
downloadgcc-51ec70b8be4c423e38fcbc6e49add3fbc16fe5bb.zip
gcc-51ec70b8be4c423e38fcbc6e49add3fbc16fe5bb.tar.gz
gcc-51ec70b8be4c423e38fcbc6e49add3fbc16fe5bb.tar.bz2
[multiple changes]
2009-04-29 Arnaud Charlet <charlet@adacore.com> * gnat_ugn.texi: Update some documentation about interfacing with C++ Mention -fkeep-inline-functions. * gnat_ugn.texi: Minor edits 2009-04-29 Ed Schonberg <schonberg@adacore.com> * sem_aggr.adb (Resolve_Record_Aggregate): When building an aggregate for a defaulted component of an enclosing aggregate, inherit the type from the component declaration of the enclosing type. 2009-04-29 Albert Lee <lee@adacore.com> * g-socthi-vms.ads, g-socthi-vxworks.ads, s-oscons-tmplt.c, g-socthi-mingw.ads, g-socthi.ads, g-socket.adb, g-sothco.ads (System.OS_Constants): New type Msg_Iovlen_T which follows whether the msg_iovlen field in struct msghdr is 32 or 64 bits wide. Relocate the Msghdr record type from GNAT.Sockets.Thin to GNAT.Sockets.Common, and use System.OS_Constants.Msg_Iovlen_T as the type for the Msg_Iovlen field. From-SVN: r146969
Diffstat (limited to 'gcc/ada/g-socthi-vms.ads')
-rw-r--r--gcc/ada/g-socthi-vms.ads12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/ada/g-socthi-vms.ads b/gcc/ada/g-socthi-vms.ads
index 6df9335..2fd5009 100644
--- a/gcc/ada/g-socthi-vms.ads
+++ b/gcc/ada/g-socthi-vms.ads
@@ -57,18 +57,6 @@ package GNAT.Sockets.Thin is
.. +(2 ** (C.size_t'Size - 1) - 1);
-- Signed type of the same size as size_t
- type Msghdr is record
- Msg_Name : System.Address;
- Msg_Namelen : C.unsigned;
- Msg_Iov : System.Address;
- Msg_Iovlen : C.size_t;
- Msg_Control : System.Address;
- Msg_Controllen : C.size_t;
- Msg_Flags : C.int;
- end record;
- pragma Convention (C, Msghdr);
- -- This type needs comments???
-
function Socket_Errno return Integer renames GNAT.OS_Lib.Errno;
-- Returns last socket error number