* path.h: Add __attribute__ ((regparm(x))) to commonly used functions.

* pinfo.h: Ditto.
* sigproc.h: Ditto.
* sync.h: Ditto.
This commit is contained in:
Christopher Faylor
2000-11-12 04:57:41 +00:00
parent 6ccb6bcf3d
commit 49421cd9c5
5 changed files with 17 additions and 12 deletions

View File

@@ -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. */