aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygerrno.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2018-02-20 18:01:40 +0100
committerCorinna Vinschen <corinna@vinschen.de>2018-02-20 18:01:40 +0100
commitea1e5318d5479ca841beab601a4c3dd7cce627ad (patch)
treec866d310a1762c11906391867d7efd5e5d9312aa /winsup/cygwin/cygerrno.h
parent044ab77dcc59ec7eea0e3880d47c22f5f62cc502 (diff)
downloadnewlib-ea1e5318d5479ca841beab601a4c3dd7cce627ad.zip
newlib-ea1e5318d5479ca841beab601a4c3dd7cce627ad.tar.gz
newlib-ea1e5318d5479ca841beab601a4c3dd7cce627ad.tar.bz2
Cygwin: set/getsockopt: Move implementation into fhandler_socket class
This requires to export find_winsock_errno from net.cc. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/cygerrno.h')
-rw-r--r--winsup/cygwin/cygerrno.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygerrno.h b/winsup/cygwin/cygerrno.h
index afcae4c..009ae63 100644
--- a/winsup/cygwin/cygerrno.h
+++ b/winsup/cygwin/cygerrno.h
@@ -41,6 +41,7 @@ __set_errno (const char *fn, int ln, int val)
}
#define set_errno(val) __set_errno (__PRETTY_FUNCTION__, __LINE__, (val))
+int find_winsock_errno (DWORD why);
void __reg2 __set_winsock_errno (const char *fn, int ln);
#define set_winsock_errno() __set_winsock_errno (__FUNCTION__, __LINE__)