summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libthr/thread/thr_init.c1
-rw-r--r--lib/libthr/thread/thr_once.c5
-rw-r--r--lib/libthr/thread/thr_private.h1
3 files changed, 0 insertions, 7 deletions
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c
index 0927e15..e5393c0 100644
--- a/lib/libthr/thread/thr_init.c
+++ b/lib/libthr/thread/thr_init.c
@@ -447,7 +447,6 @@ init_private(void)
_thr_urwlock_init(&_thr_atfork_lock);
_thr_umutex_init(&_thr_event_lock);
_thr_umutex_init(&_suspend_all_lock);
- _thr_once_init();
_thr_spinlock_init();
_thr_list_init();
_thr_wake_addr_init();
diff --git a/lib/libthr/thread/thr_once.c b/lib/libthr/thread/thr_once.c
index 80739da..51aa8ac 100644
--- a/lib/libthr/thread/thr_once.c
+++ b/lib/libthr/thread/thr_once.c
@@ -101,8 +101,3 @@ _pthread_once(pthread_once_t *once_control, void (*init_routine) (void))
_thr_umtx_wake(&once_control->state, INT_MAX, 0);
return (0);
}
-
-void
-_thr_once_init(void)
-{
-}
diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h
index 02b575d..e61ee99 100644
--- a/lib/libthr/thread/thr_private.h
+++ b/lib/libthr/thread/thr_private.h
@@ -811,7 +811,6 @@ void _thr_link(struct pthread *, struct pthread *) __hidden;
void _thr_unlink(struct pthread *, struct pthread *) __hidden;
void _thr_assert_lock_level(void) __hidden __dead2;
void _thr_ast(struct pthread *) __hidden;
-void _thr_once_init(void) __hidden;
void _thr_report_creation(struct pthread *curthread,
struct pthread *newthread) __hidden;
void _thr_report_death(struct pthread *curthread) __hidden;
OpenPOWER on IntegriCloud