From 57c89867f5d355d62917f0c1db4d0cd02741cc9a Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 6 Sep 2001 05:17:22 +0000 Subject: Move appropriate variables to NO_COPY segment, throughout. --- winsup/cygwin/net.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/net.cc') diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 34489da8e..18ff29be5 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -286,7 +286,7 @@ struct tl int e; }; -static struct tl errmap[] = +static NO_COPY struct tl errmap[] = { {WSAEINTR, "WSAEINTR", EINTR}, {WSAEWOULDBLOCK, "WSAEWOULDBLOCK", EWOULDBLOCK}, @@ -356,7 +356,7 @@ __set_winsock_errno (const char *fn, int ln) * Since the member `s' isn't used for debug output we can use it * for the error text returned by herror and hstrerror. */ -static struct tl host_errmap[] = +const static NO_COPY struct tl host_errmap[] = { {WSAHOST_NOT_FOUND, "Unknown host", HOST_NOT_FOUND}, {WSATRY_AGAIN, "Host name lookup failure", TRY_AGAIN}, -- cgit v1.2.3