aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-04-27 03:14:02 +0000
committerChristopher Faylor <me@cgf.cx>2003-04-27 03:14:02 +0000
commit878251d4602e2b2e4ffa709fd13400a869428d35 (patch)
tree5a22e4fb0cc6d6b8b695b470b2f513fc60a97024 /winsup
parent7d6d38aaece0f6818ceb2112a2ac7917ce32272b (diff)
downloadnewlib-878251d4602e2b2e4ffa709fd13400a869428d35.zip
newlib-878251d4602e2b2e4ffa709fd13400a869428d35.tar.gz
newlib-878251d4602e2b2e4ffa709fd13400a869428d35.tar.bz2
really check in correct fix.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/errno.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc
index 92d0bb0..4e0e653 100644
--- a/winsup/cygwin/errno.cc
+++ b/winsup/cygwin/errno.cc
@@ -295,7 +295,7 @@ const NO_COPY char __declspec(dllexport) * const _sys_errlist[]=
/* EOVERFLOW 139 */ "Value too large for defined data type"
};
-const int NO_COPY __declspec(dllexport) _sys_nerr = sizeof (_sys_errlist) / sizeof (_sys_errlist[0]);
+extern const int NO_COPY __declspec(dllexport) _sys_nerr = sizeof (_sys_errlist) / sizeof (_sys_errlist[0]);
};
/* FIXME: Why is strerror() a long switch and not just: