summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/lock_futex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/lock_futex.c')
-rw-r--r--src/pkg/runtime/lock_futex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/lock_futex.c b/src/pkg/runtime/lock_futex.c
index 27a866a73..a0fe102cc 100644
--- a/src/pkg/runtime/lock_futex.c
+++ b/src/pkg/runtime/lock_futex.c
@@ -35,7 +35,7 @@ enum
// Note that there can be spinning threads during all states - they do not
// affect mutex's state.
void
-runtime·lock(Lock *l)
+runtime·lock(Mutex *l)
{
uint32 i, v, wait, spin;
@@ -89,7 +89,7 @@ runtime·lock(Lock *l)
}
void
-runtime·unlock(Lock *l)
+runtime·unlock(Mutex *l)
{
uint32 v;