about summary refs log tree commit diff
path: root/src/thread/tss_delete.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/tss_delete.c')
-rw-r--r--src/thread/tss_delete.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/tss_delete.c b/src/thread/tss_delete.c
new file mode 100644
index 00000000..35db1032
--- /dev/null
+++ b/src/thread/tss_delete.c
@@ -0,0 +1,8 @@
+#include <threads.h>
+
+int __pthread_key_delete(tss_t k);
+
+void tss_delete(tss_t key)
+{
+	__pthread_key_delete(key);
+}