summaryrefslogtreecommitdiff
path: root/sysdeps/stub/libc-lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/libc-lock.h')
-rw-r--r--sysdeps/stub/libc-lock.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/stub/libc-lock.h b/sysdeps/stub/libc-lock.h
index 158a221718..d0a82fea21 100644
--- a/sysdeps/stub/libc-lock.h
+++ b/sysdeps/stub/libc-lock.h
@@ -48,6 +48,9 @@
/* Lock the named lock variable. */
#define __libc_lock_lock(NAME)
+/* Try tp lock the named lock variable. */
+#define __libc_lock_trylock(NAME)
+
/* Unlock the named lock variable. */
#define __libc_lock_unlock(NAME)
@@ -58,4 +61,7 @@
#define __libc_cleanup_region_end(DOIT)
+/* We need protable names for some of the functions. */
+#define __libc_mutex_unlock
+
#endif /* libc-lock.h */