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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h
index 03bcca793..9d702b6af 100644
--- a/winsup/cygwin/sync.h
+++ b/winsup/cygwin/sync.h
@@ -1,7 +1,7 @@
/* sync.h: Header file for cygwin synchronization primitives.
- Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2011, 2012,
- 2013 Red Hat, Inc.
+ Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2010, 2011,
+ 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -27,17 +27,17 @@ public:
// class muto *next;
/* The real constructor. */
- muto *init (const char *) __attribute__ ((regparm (2)));
+ muto __reg2 *init (const char *);
#if 0 /* FIXME: See comment in sync.cc */
~muto ()
#endif
- int acquire (DWORD ms = INFINITE) __attribute__ ((regparm (2))); /* Acquire the lock. */
- int release (_cygtls * = &_my_tls) __attribute__ ((regparm (2))); /* Release the lock. */
+ int __reg2 acquire (DWORD ms = INFINITE); /* Acquire the lock. */
+ int __reg2 release (_cygtls * = &_my_tls); /* Release the lock. */
- bool acquired () __attribute__ ((regparm (1)));
+ bool __reg1 acquired ();
void upforgrabs () {tls = this;} // just set to an invalid address
- void grab () __attribute__ ((regparm (1)));
+ void __reg1 grab ();
operator int () const {return !!name;}
};