diff options
Diffstat (limited to 'libports/interrupt-notified-rpcs.c')
-rw-r--r-- | libports/interrupt-notified-rpcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libports/interrupt-notified-rpcs.c b/libports/interrupt-notified-rpcs.c index bdfef977..6d6493d3 100644 --- a/libports/interrupt-notified-rpcs.c +++ b/libports/interrupt-notified-rpcs.c @@ -36,7 +36,7 @@ ports_interrupt_notified_rpcs (void *object, { struct ports_notify *np; - mutex_lock (&_ports_lock); + pthread_mutex_lock (&_ports_lock); for (np = _ports_notifications; np; np = np->next) if (np->port == port && np->what == what) { @@ -49,7 +49,7 @@ ports_interrupt_notified_rpcs (void *object, } break; } - mutex_unlock (&_ports_lock); + pthread_mutex_unlock (&_ports_lock); } } |