[2/7] htl: move __pthread_default_condattr into libc.
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Test passed
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Test passed
|
Commit Message
Signed-off-by: gfleury <gfleury@disroot.org>
---
htl/Makefile | 2 +-
htl/Versions | 1 +
htl/pt-internal.h | 1 +
sysdeps/htl/pt-cond.c | 1 +
4 files changed, 4 insertions(+), 1 deletion(-)
@@ -92,7 +92,6 @@ libpthread-routines := \
pt-rwlock-timedrdlock \
pt-rwlock-timedwrlock \
pt-rwlock-unlock \
- pt-cond \
pt-condattr-init \
pt-condattr-getclock \
pt-condattr-getpshared \
@@ -205,6 +204,7 @@ routines := \
pt-attr-setstack \
pt-attr-setstackaddr \
pt-attr-setstacksize \
+ pt-cond \
pt-condattr-destroy \
pt-getschedparam \
pt-nthreads \
@@ -83,6 +83,7 @@ libc {
__pthread_attr_setstacksize;
__pthread_attr_setstackaddr;
__pthread_attr_setstack;
+ __pthread_default_condattr;
}
}
@@ -329,6 +329,7 @@ extern const struct __pthread_rwlockattr __pthread_default_rwlockattr;
/* Default condition attributes. */
extern const struct __pthread_condattr __pthread_default_condattr;
+libc_hidden_proto (__pthread_default_condattr)
/* Semaphore encoding.
See nptl implementation for the details. */
@@ -25,3 +25,4 @@ const struct __pthread_condattr __pthread_default_condattr = {
__pshared: PTHREAD_PROCESS_PRIVATE,
__clock: CLOCK_REALTIME
};
+libc_hidden_data_def (__pthread_default_condattr)