diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-11-03 17:47:33 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-11-03 17:47:33 +0000 |
commit | 516fbf67a0f6882e592029d69f7b632736cfee0a (patch) | |
tree | acc7eca2a142e829cfb788883b6e5e8276c992dc /winsup/cygwin/globals.cc | |
parent | 7c01efe08819da2dbbe804539e8e8fd391a3a969 (diff) | |
download | cygnal-516fbf67a0f6882e592029d69f7b632736cfee0a.tar.gz cygnal-516fbf67a0f6882e592029d69f7b632736cfee0a.tar.bz2 cygnal-516fbf67a0f6882e592029d69f7b632736cfee0a.zip |
* fhandler.cc (off_current): Define local in fhandler_base::raw_write.
Drop erroneous NO_COPY, add _RDATA to make R/O.
(off_append): Ditto.
* globals.cc (_RDATA): Move definition from here...
* winsup.h: ...to here.
Diffstat (limited to 'winsup/cygwin/globals.cc')
-rw-r--r-- | winsup/cygwin/globals.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/cygwin/globals.cc b/winsup/cygwin/globals.cc index 0b2ed573c..e678c2c48 100644 --- a/winsup/cygwin/globals.cc +++ b/winsup/cygwin/globals.cc @@ -70,9 +70,6 @@ bool NO_COPY _cygwin_testing; char NO_COPY almost_null[1]; -/* Define globally used, but readonly variables using the _RDATA attribute. */ -#define _RDATA __attribute__ ((section(".rdata"))) - /* Heavily-used const UNICODE_STRINGs are defined here once. The idea is a speed improvement by not having to initialize a UNICODE_STRING every time we make a string comparison. The strings are not defined as const, @@ -123,8 +120,6 @@ cygwin_props_t _RDATA cygwin_props = 0 }; -#undef _RDATA - extern "C" { /* This is an exported copy of environ which can be used by DLLs |