summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_once.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_once.c')
-rw-r--r--lib/libpthread/thread/thr_once.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_once.c b/lib/libpthread/thread/thr_once.c
index 40344bd..f93800f 100644
--- a/lib/libpthread/thread/thr_once.c
+++ b/lib/libpthread/thread/thr_once.c
@@ -36,6 +36,9 @@
#include "un-namespace.h"
#include "thr_private.h"
+LT10_COMPAT_PRIVATE(_pthread_once);
+LT10_COMPAT_DEFAULT(pthread_once);
+
__weak_reference(_pthread_once, pthread_once);
#define ONCE_NEVER_DONE PTHREAD_NEEDS_INIT
OpenPOWER on IntegriCloud