aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/bits/libc-lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/bits/libc-lock.h')
-rw-r--r--sysdeps/stub/bits/libc-lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/bits/libc-lock.h b/sysdeps/stub/bits/libc-lock.h
index 8462383..fa4dcdd 100644
--- a/sysdeps/stub/bits/libc-lock.h
+++ b/sysdeps/stub/bits/libc-lock.h
@@ -84,10 +84,10 @@
typedef int __libc_key_t;
/* Create key for thread specific data. */
-#define __libc_key_create(KEY,DEST)
+#define __libc_key_create(KEY,DEST) -1
/* Set thread-specific data associated with KEY to VAL. */
-#define __libc_setspecific(KEY,VAL)
+#define __libc_setspecific(KEY,VAL) -1
/* Get thread-specific data associated with KEY. */
#define __libc_getspecific(KEY) 0