aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dtable.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-09-06 05:17:22 +0000
committerChristopher Faylor <me@cgf.cx>2001-09-06 05:17:22 +0000
commit57c89867f5d355d62917f0c1db4d0cd02741cc9a (patch)
tree6d0e73f958e833c8d0c884fbe58e9a8055542df7 /winsup/cygwin/dtable.cc
parent08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca (diff)
downloadnewlib-57c89867f5d355d62917f0c1db4d0cd02741cc9a.zip
newlib-57c89867f5d355d62917f0c1db4d0cd02741cc9a.tar.gz
newlib-57c89867f5d355d62917f0c1db4d0cd02741cc9a.tar.bz2
Move appropriate variables to NO_COPY segment, throughout.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index 8e4d40b..0b3ad25 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -32,7 +32,7 @@ details. */
#include "dtable.h"
#include "cygheap.h"
-static DWORD std_consts[] = {STD_INPUT_HANDLE, STD_OUTPUT_HANDLE,
+static const NO_COPY DWORD std_consts[] = {STD_INPUT_HANDLE, STD_OUTPUT_HANDLE,
STD_ERROR_HANDLE};
/* Set aside space for the table of fds */