summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/ws2tcpip.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2006-04-16 08:26:59 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2006-04-16 08:26:59 +0000
commit1d975d67b1247031a73dfb40e4095c44dbe22d9c (patch)
tree7cf84e983e3d0967f17a9c07d2a914df3b772ec0 /winsup/w32api/include/ws2tcpip.h
parent538146072aa20eda09fabd762d4eb7e7d00269af (diff)
downloadcygnal-1d975d67b1247031a73dfb40e4095c44dbe22d9c.tar.gz
cygnal-1d975d67b1247031a73dfb40e4095c44dbe22d9c.tar.bz2
cygnal-1d975d67b1247031a73dfb40e4095c44dbe22d9c.zip
* include/ws2tcpip.h (gai_strerror): Add thread-safety comment.
Diffstat (limited to 'winsup/w32api/include/ws2tcpip.h')
-rw-r--r--winsup/w32api/include/ws2tcpip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/w32api/include/ws2tcpip.h b/winsup/w32api/include/ws2tcpip.h
index 6ae0ea50d..3b68b3df1 100644
--- a/winsup/w32api/include/ws2tcpip.h
+++ b/winsup/w32api/include/ws2tcpip.h
@@ -304,6 +304,8 @@ int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
/* FIXME: Need WS protocol-independent API helpers. */
#endif
+/* One might well ask if gai_strerror has been ripped from MS Platform SDK
+ headers. It is obviously not thread-safe. */
static __inline char*
gai_strerrorA(int ecode)
{