Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-01-09 19:00:58 +0300
committerCorinna Vinschen <corinna@vinschen.de>2001-01-09 19:00:58 +0300
commit55ae1dff87f3d185545fe9c27d717210fa639c19 (patch)
treecf3e038461161a69a8e2d4f14399af662a1e0df2 /winsup/cygwin/net.cc
parent077ec4cb37134f2e90dd282ce9c6e496052e35e5 (diff)
Patch suggested by Ren� M�ller Fonseca <fonseca@mip.sdu.dk>
* include/sys/socket.h: Change prototype to have 2nd parameter `const'. * net.cc (cygwin_bind): Change 2nd parameter to `const'.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 65a68bedb..5603a215e 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -1,6 +1,6 @@
/* net.cc: network-related routines.
- Copyright 1996, 1997, 1998, 1999, 2000 Cygnus Solutions.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001 Cygnus Solutions.
This file is part of Cygwin.
@@ -760,7 +760,7 @@ done:
/* exported as bind: standards? */
extern "C" int
-cygwin_bind (int fd, struct sockaddr *my_addr, int addrlen)
+cygwin_bind (int fd, const struct sockaddr *my_addr, int addrlen)
{
int res = -1;