From 49421cd9c5d29b29b4da341a75855b00fbab9b3d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 12 Nov 2000 04:57:41 +0000 Subject: * path.h: Add __attribute__ ((regparm(x))) to commonly used functions. * pinfo.h: Ditto. * sigproc.h: Ditto. * sync.h: Ditto. --- winsup/cygwin/sync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/sync.h') 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. */ -- cgit v1.2.3