Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/sync.h')
-rw-r--r--winsup/cygwin/sync.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h
index c710f8901..24c37dbfb 100644
--- a/winsup/cygwin/sync.h
+++ b/winsup/cygwin/sync.h
@@ -24,7 +24,7 @@ public:
const char *name;
/* The real constructor. */
- muto *init(int inh, const char *name) __attribute__ ((regparm (3)));
+ muto *init(const char *name) __attribute__ ((regparm (3)));
#if 0 /* FIXME: See comment in sync.cc */
~muto ()
@@ -42,8 +42,8 @@ public:
extern muto muto_start;
/* Use a statically allocated buffer as the storage for a muto */
-#define new_muto(__inh, __name) \
+#define new_muto(__name) \
({ \
- static muto __mbuf NO_COPY; \
- __mbuf.init (__inh, __name); \
+ static muto __mbuf __attribute__((nocommon)) __attribute__((section(".data_cygwin_nocopy"))); \
+ __mbuf.init (__name); \
})