From 7310cd33928d0a79acca651a0e67204b3528e57a Mon Sep 17 00:00:00 2001 From: charlet Date: Mon, 4 Jul 2005 13:31:43 +0000 Subject: 2005-07-04 Richard Kenner Thomas Quinot * Make-lang.in: (ada/targtyps.o): Add missing TREE_H dependency. new target gen-soccon. 2005-07-04 Robert Dewar * s-mastop-irix.adb, s-mastop-vms.adb: Minor reformatting 2005-07-04 Thomas Quinot * g-socket.ads (Check_Selector): Minor rewording of comment. 2005-07-04 Vincent Celier * vms_data.ads: Add VMS qualifiers for new gnatpp switch --eol= 2005-07-04 Thomas Quinot * gen-soccon.c: Add constants SO_SNDTIMEO and SO_RCVTIMEO. 2005-07-04 Sergey Rybin * gnat_ugn.texi: Add description of --eol gnatpp option 2005-07-04 Eric Botcazou Thomas Quinot * gnat_rm.texi: Add a note that pragma Unreferenced is not appropriate if the user wants all calls of a subprogram to be flagged, independently of whether they are made from within the same unit or another unit. Mention restriction for pragma Linker_Alias on some platforms. Document pragma Linker_Constructor and Linker_Destructor. Rewrite documentation of Weak_External, Linker_Section and Linker_Alias pragmas. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101598 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/gen-soccon.c | 86 +++++++++++++++++++++++++++++----------------------- 1 file changed, 48 insertions(+), 38 deletions(-) (limited to 'gcc/ada/gen-soccon.c') diff --git a/gcc/ada/gen-soccon.c b/gcc/ada/gen-soccon.c index b1728df161f..643f63997c5 100644 --- a/gcc/ada/gen-soccon.c +++ b/gcc/ada/gen-soccon.c @@ -1,26 +1,26 @@ -/***************************************************************************** -** ** -** GNAT SYSTEM UTILITIES ** -** ** -** G E N - S O C C O N ** -** ** -** Copyright (C) 2004-2005 Free Software Foundation, Inc. ** -** ** -** GNAT is free software; you can redistribute it and/or modify it under ** -** terms of the GNU General Public License as published by the Free Soft- ** -** ware Foundation; either version 2, or (at your option) any later ver- ** -** sion. GNAT is distributed in the hope that it will be useful, but WITH- ** -** OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ** -** or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ** -** for more details. You should have received a copy of the GNU General ** -** Public License distributed with GNAT; see file COPYING. If not, write ** -** to the Free Software Foundation, 51 Franklin Street, Fifth Floor, ** -** Boston, MA 02110-1301, USA. ** -** ** -** GNAT was originally developed by the GNAT team at New York University. ** -** Extensive contributions were provided by Ada Core Technologies Inc. ** -** ** -******************************************************************************/ +/**************************************************************************** + * * + * GNAT SYSTEM UTILITIES * + * * + * G E N - S O C C O N * + * * + * Copyright (C) 2004-2005 Free Software Foundation, Inc. * + * * + * GNAT is free software; you can redistribute it and/or modify it under * + * terms of the GNU General Public License as published by the Free Soft- * + * ware Foundation; either version 2, or (at your option) any later ver- * + * sion. GNAT is distributed in the hope that it will be useful, but WITH- * + * OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * + * for more details. You should have received a copy of the GNU General * + * Public License distributed with GNAT; see file COPYING. If not, write * + * to the Free Software Foundation, 51 Franklin Street, Fifth Floor, * + * Boston, MA 02110-1301, USA. * + * * + * GNAT was originally developed by the GNAT team at New York University. * + * Extensive contributions were provided by Ada Core Technologies Inc. * + * * + ****************************************************************************/ /* This program generates g-soccon.ads */ @@ -478,16 +478,6 @@ _NL #endif CND(TCP_NODELAY, "Do not coalesce packets") -#ifndef SO_SNDBUF -#define SO_SNDBUF -1 -#endif -CND(SO_SNDBUF, "Set/get send buffer size") - -#ifndef SO_RCVBUF -#define SO_RCVBUF -1 -#endif -CND(SO_RCVBUF, "Set/get recv buffer size") - #ifndef SO_REUSEADDR #define SO_REUSEADDR -1 #endif @@ -503,16 +493,36 @@ CND(SO_KEEPALIVE, "Enable keep-alive msgs") #endif CND(SO_LINGER, "Defer close to flush data") -#ifndef SO_ERROR -#define SO_ERROR -1 -#endif -CND(SO_ERROR, "Get/clear error status") - #ifndef SO_BROADCAST #define SO_BROADCAST -1 #endif CND(SO_BROADCAST, "Can send broadcast msgs") +#ifndef SO_SNDBUF +#define SO_SNDBUF -1 +#endif +CND(SO_SNDBUF, "Set/get send buffer size") + +#ifndef SO_RCVBUF +#define SO_RCVBUF -1 +#endif +CND(SO_RCVBUF, "Set/get recv buffer size") + +#ifndef SO_SNDTIMEO +#define SO_SNDTIMEO -1 +#endif +CND(SO_SNDTIMEO, "Emission timeout") + +#ifndef SO_RCVTIMEO +#define SO_RCVTIMEO -1 +#endif +CND(SO_RCVTIMEO, "Reception timeout") + +#ifndef SO_ERROR +#define SO_ERROR -1 +#endif +CND(SO_ERROR, "Get/clear error status") + #ifndef IP_MULTICAST_IF #define IP_MULTICAST_IF -1 #endif -- cgit v1.2.1