From 51ec70b8be4c423e38fcbc6e49add3fbc16fe5bb Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Wed, 29 Apr 2009 15:47:42 +0200 Subject: [multiple changes] 2009-04-29 Arnaud Charlet * gnat_ugn.texi: Update some documentation about interfacing with C++ Mention -fkeep-inline-functions. * gnat_ugn.texi: Minor edits 2009-04-29 Ed Schonberg * 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 * 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 --- gcc/ada/g-socthi-vms.ads | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gcc/ada/g-socthi-vms.ads') 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 -- cgit v1.1