diff options
Diffstat (limited to 'winsup/cygwin/sync.h')
-rw-r--r-- | winsup/cygwin/sync.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h index 32a2516c5..b04fc3999 100644 --- a/winsup/cygwin/sync.h +++ b/winsup/cygwin/sync.h @@ -31,7 +31,7 @@ public: /* The real constructor. */ muto(int inh, const char *name); ~muto (); - int acquire (DWORD ms = INFINITE); /* Acquire the lock. */ + int acquire (DWORD ms = INFINITE) __attribute__ ((regparm(1))); /* Acquire the lock. */ int release (); /* Release the lock. */ /* Return true if caller thread owns the lock. */ |