diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-06 05:17:22 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-06 05:17:22 +0000 |
commit | 57c89867f5d355d62917f0c1db4d0cd02741cc9a (patch) | |
tree | 6d0e73f958e833c8d0c884fbe58e9a8055542df7 /winsup/cygwin/net.cc | |
parent | 08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca (diff) | |
download | cygnal-57c89867f5d355d62917f0c1db4d0cd02741cc9a.tar.gz cygnal-57c89867f5d355d62917f0c1db4d0cd02741cc9a.tar.bz2 cygnal-57c89867f5d355d62917f0c1db4d0cd02741cc9a.zip |
Move appropriate variables to NO_COPY segment, throughout.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r-- | winsup/cygwin/net.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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}, |