diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-01-09 19:00:58 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-01-09 19:00:58 +0300 |
commit | 55ae1dff87f3d185545fe9c27d717210fa639c19 (patch) | |
tree | cf3e038461161a69a8e2d4f14399af662a1e0df2 /winsup/cygwin/include/sys/socket.h | |
parent | 077ec4cb37134f2e90dd282ce9c6e496052e35e5 (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/include/sys/socket.h')
-rw-r--r-- | winsup/cygwin/include/sys/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/socket.h b/winsup/cygwin/include/sys/socket.h index a13b55600..70ec1fb27 100644 --- a/winsup/cygwin/include/sys/socket.h +++ b/winsup/cygwin/include/sys/socket.h @@ -17,7 +17,7 @@ extern "C" #ifndef __INSIDE_CYGWIN_NET__ int accept (int, struct sockaddr *__peer, int *); - int bind (int, struct sockaddr *__my_addr, int __addrlen); + int bind (int, const struct sockaddr *__my_addr, int __addrlen); int connect (int, const struct sockaddr *, int); int getpeername (int, struct sockaddr *__peer, int *); int getsockname (int, struct sockaddr *__addr, int *); |