diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-17 06:14:35 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-17 06:14:35 +0000 |
commit | 8cb1db0dea3d9776c0cbe0ac7bb05387f4b410be (patch) | |
tree | e69d504d24e1249b981b7150ceb6cc8107e5e456 /gcc/ada/socket.c | |
parent | c1efebf99e1d1fc1f196fbe3b3222ac3cc19c262 (diff) | |
download | gcc-8cb1db0dea3d9776c0cbe0ac7bb05387f4b410be.tar.gz |
2014-07-17 Pascal Obry <obry@adacore.com>
* s-os_lib.ads: Minor comment update.
2014-07-17 Tristan Gingold <gingold@adacore.com>
* sysdep.c: Add ATTRIBUTE_UNUSED to avoid warnings. Fix some
indentation.
* socket.c: Remove #warning to avoid warning.
* expect.c: Indent some preprocessor directives to clarify
nested if. Do not use wait.h on PikeOS. Add ATTRIBUTE_UNUSED
to remove warnings.
* env.c: Fix indentation. Port to PikeOS.
* gsocket.h: Port to PikeOS. Remove #warning.
* terminals.c: Port to PikeOS. Fix indentation of the stubs.
Add ATTRIBUTE_UNUSED to stubs arguments. Fix return statement
of stubbed __gnat_setup_parent_communication.
* adaint.c: Port to PikeOS. Reindent some preprocessor
directives to clarify nested if. Fix indentation. Add missing
ATTRIBUTE_UNUSED.
2014-07-17 Robert Dewar <dewar@adacore.com>
* sem_attr.adb: Minor reformatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212717 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/socket.c')
-rw-r--r-- | gcc/ada/socket.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ada/socket.c b/gcc/ada/socket.c index 18999b394ea..ab5368f6d0c 100644 --- a/gcc/ada/socket.c +++ b/gcc/ada/socket.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * Copyright (C) 2003-2012, Free Software Foundation, Inc. * + * Copyright (C) 2003-2014, 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- * @@ -689,6 +689,4 @@ __gnat_servent_s_proto (struct servent * s) return s->s_proto; } -#else -# warning Sockets are not supported on this platform #endif /* defined(HAVE_SOCKETS) */ |