summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thread_storage.c
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2002-11-03 20:36:43 +0000
committermarc <marc@openbsd.org>2002-11-03 20:36:43 +0000
commit7d696152b04eda612deebda7dd931656647baf68 (patch)
treec8d6614acef79d09c5a8c85d3b59a6535a731ded /lib/libpthread/thread/thread_storage.c
parentYou can't always cast pointer to int on because the sizes are (diff)
downloadwireguard-openbsd-7d696152b04eda612deebda7dd931656647baf68.tar.xz
wireguard-openbsd-7d696152b04eda612deebda7dd931656647baf68.zip
libc changes for thread safety. Tested on:
alpha (millert@), i386 (marc@), m68k (millert@ and miod@), powerpc (drahn@ and dhartmei@), sparc (millert@ and marc@), sparc64 (marc@), and vax (millert@ and miod@). Thanks to millert@, miod@, and mickey@ for fixes along the way.
Diffstat (limited to 'lib/libpthread/thread/thread_storage.c')
-rw-r--r--lib/libpthread/thread/thread_storage.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thread_storage.c b/lib/libpthread/thread/thread_storage.c
index fa8357c85ec..5872003a09f 100644
--- a/lib/libpthread/thread/thread_storage.c
+++ b/lib/libpthread/thread/thread_storage.c
@@ -1,5 +1,9 @@
+/* $OpenBSD: thread_storage.c,v 1.4 2002/11/03 20:36:43 marc Exp $ */
+/* Public Domain */
-/* libpthread's stronger functions */
+/*
+ * libpthread's stronger functions
+ */
#include <stdlib.h>
#include <pthread.h>