diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-04 13:31:43 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-04 13:31:43 +0000 |
commit | 7310cd33928d0a79acca651a0e67204b3528e57a (patch) | |
tree | 57a0c3fc2827757acf848fd1a747b9168b6a77fa /gcc/ada/gen-soccon.c | |
parent | 8e9d12597759d6626335764fac82795cef78f7be (diff) | |
download | gcc-7310cd33928d0a79acca651a0e67204b3528e57a.tar.gz |
2005-07-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
Thomas Quinot <quinot@adacore.com>
* Make-lang.in: (ada/targtyps.o): Add missing TREE_H dependency.
new target gen-soccon.
2005-07-04 Robert Dewar <dewar@adacore.com>
* s-mastop-irix.adb, s-mastop-vms.adb: Minor reformatting
2005-07-04 Thomas Quinot <quinot@adacore.com>
* g-socket.ads (Check_Selector): Minor rewording of comment.
2005-07-04 Vincent Celier <celier@adacore.com>
* vms_data.ads: Add VMS qualifiers for new gnatpp switch --eol=
2005-07-04 Thomas Quinot <quinot@adacore.com>
* gen-soccon.c: Add constants SO_SNDTIMEO and SO_RCVTIMEO.
2005-07-04 Sergey Rybin <rybin@adacore.com>
* gnat_ugn.texi: Add description of --eol gnatpp option
2005-07-04 Eric Botcazou <ebotcazou@adacore.com>
Thomas Quinot <quinot@adacore.com>
* 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
Diffstat (limited to 'gcc/ada/gen-soccon.c')
-rw-r--r-- | gcc/ada/gen-soccon.c | 86 |
1 files changed, 48 insertions, 38 deletions
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 |