From: gfleury <[email protected]>
Message-ID: <[email protected]>
---
htl/Makefile | 2 +-
htl/Versions | 1 +
htl/pt-internal.h | 2 +-
sysdeps/mach/hurd/i386/htl/pt-setup.c | 1 +
sysdeps/mach/hurd/x86_64/htl/pt-setup.c | 1 +
5 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/htl/Makefile b/htl/Makefile
index ab78372da7..995bcefbfc 100644
--- a/htl/Makefile
+++ b/htl/Makefile
@@ -32,7 +32,6 @@ libpthread-routines := \
pt-hurd-cond-timedwait \
pt-startup \
pt-sysdep \
- pt-setup \
pt-spin \
pt-getname-np \
pt-setname-np \
@@ -198,6 +197,7 @@ routines := \
pt-setschedparam \
pt-setschedprio \
pt-setspecific \
+ pt-setup \
pt-sigmask \
pt-sigstate \
pt-sigstate-destroy \
diff --git a/htl/Versions b/htl/Versions
index 1c7e82c1d3..31456186c8 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -270,6 +270,7 @@ libc {
__pthread_mutexattr_settype;
__pthread_once;
__pthread_setspecific;
+ __pthread_setup;
__pthread_sigstate_init;
__pthread_sigstate;
__pthread_sigstate_destroy;
diff --git a/htl/pt-internal.h b/htl/pt-internal.h
index 24d0964ebf..f816aca282 100644
--- a/htl/pt-internal.h
+++ b/htl/pt-internal.h
@@ -242,7 +242,7 @@ extern int __pthread_setup (struct __pthread *__restrict
thread,
void *),
void *(*start_routine) (void *),
void *__restrict arg);
-
+libc_hidden_proto (__pthread_setup)
/* Allocate a kernel thread (and any miscellaneous system dependent
resources) for THREAD; it must not be placed on the run queue. */
diff --git a/sysdeps/mach/hurd/i386/htl/pt-setup.c
b/sysdeps/mach/hurd/i386/htl/pt-setup.c
index c6df0101cf..b9c41b9e6e 100644
--- a/sysdeps/mach/hurd/i386/htl/pt-setup.c
+++ b/sysdeps/mach/hurd/i386/htl/pt-setup.c
@@ -98,3 +98,4 @@ __pthread_setup (struct __pthread *thread,
return 0;
}
+libc_hidden_def (__pthread_setup)
diff --git a/sysdeps/mach/hurd/x86_64/htl/pt-setup.c
b/sysdeps/mach/hurd/x86_64/htl/pt-setup.c
index 76a4394332..88c39b7899 100644
--- a/sysdeps/mach/hurd/x86_64/htl/pt-setup.c
+++ b/sysdeps/mach/hurd/x86_64/htl/pt-setup.c
@@ -91,3 +91,4 @@ __pthread_setup (struct __pthread *thread,
return 0;
}
+libc_hidden_def (__pthread_setup)
--
2.47.2