diff options
author | Roger A. Faulkner <Roger.Faulkner@Sun.COM> | 2010-01-11 17:42:13 -0800 |
---|---|---|
committer | Roger A. Faulkner <Roger.Faulkner@Sun.COM> | 2010-01-11 17:42:13 -0800 |
commit | 53f3aea0943e36e5fed2615ad5f9fd1f17de51d2 (patch) | |
tree | 388c0dbc3a451ff7ecf86b8263f9206f730c06e8 /usr/src/lib/libumem/common/stub_stand.c | |
parent | 86a9c507121ec77a92601d8844a5ca82373cd4aa (diff) | |
download | illumos-gate-53f3aea0943e36e5fed2615ad5f9fd1f17de51d2.tar.gz |
6915578 MUTEX_HELD() and RW_LOCK_HELD() macros should be available to Posix threads
Diffstat (limited to 'usr/src/lib/libumem/common/stub_stand.c')
-rw-r--r-- | usr/src/lib/libumem/common/stub_stand.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/lib/libumem/common/stub_stand.c b/usr/src/lib/libumem/common/stub_stand.c index 025001ff73..54635558c3 100644 --- a/usr/src/lib/libumem/common/stub_stand.c +++ b/usr/src/lib/libumem/common/stub_stand.c @@ -20,12 +20,10 @@ */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * Stubs for the standalone to reduce the dependence on external libraries */ @@ -96,7 +94,7 @@ mutex_destroy(mutex_t *mp) /*ARGSUSED*/ int -_mutex_held(mutex_t *mp) +_mutex_held(void *mp) { return (1); } |