summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distrib/special/libstubs/pthread_once.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/special/libstubs/pthread_once.c b/distrib/special/libstubs/pthread_once.c
index e9acccb7d9a..e8adc2b3b6a 100644
--- a/distrib/special/libstubs/pthread_once.c
+++ b/distrib/special/libstubs/pthread_once.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread_once.c,v 1.2 2018/03/15 13:27:40 beck Exp $ */
+/* $OpenBSD: pthread_once.c,v 1.3 2018/03/19 03:48:17 guenther Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>s
* Copyright (c) 2018 Bob Beck <beck@openbsd.org>
@@ -40,3 +40,4 @@ pthread_self(void)
/* needs to differ from 0 inited value. */
return (pthread_t) 1;
}
+DEF_STRONG(pthread_self);