diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-07-08 16:37:44 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-07-08 16:37:44 +0400 |
commit | b8fbf5d4c4bb5998cadbc6031ada89799b69c291 (patch) | |
tree | ea807b12bf0da4e65ea196b92584f5721811d632 | |
parent | dd5e3247eb33ecaf34a1f3af750f989020cd1c7d (diff) |
* net.cc (ipv6_inited): Make NO_COPY.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/net.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index cf58c1c65..368ffb49e 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2008-07-08 Corinna Vinschen <corinna@vinschen.de> + + * net.cc (ipv6_inited): Make NO_COPY. + 2008-07-02 Corinna Vinschen <corinna@vinschen.de> * path.cc (path_conv::is_binary): Fix test. Add comment. diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 7e9d14c45..ded37aa05 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -3836,7 +3836,7 @@ get_ipv6_funcs (HMODULE lib) } static NO_COPY muto load_ipv6_guard; -static bool ipv6_inited = false; +static NO_COPY bool ipv6_inited = false; #define load_ipv6() if (!ipv6_inited) load_ipv6_funcs (); static void |