+2017-08-31 Florian Weimer <fweimer@redhat.com>
+
+ * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
+ (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
+ Remove internal_function.
+ * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
+ * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
+ * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
+ (__deallocate_stack, __libc_pthread_init)
+ (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
+ (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
+ (__libc_disable_asynccancel, __librt_disable_asynccancel):
+ Likewise.
+ * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
+ * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
+ * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
+ Likewise.
+ * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
+ (__pthread_mutex_unlock_usercnt): Likewise.
+
2017-08-31 Florian Weimer <fweimer@redhat.com>
* io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
/* Thread list handling. */
extern struct pthread *__find_in_stack_list (struct pthread *pd)
- attribute_hidden internal_function;
+ attribute_hidden;
/* Deallocate a thread's stack after optionally making sure the thread
descriptor is still valid. */
-extern void __free_tcb (struct pthread *pd) attribute_hidden internal_function;
+extern void __free_tcb (struct pthread *pd) attribute_hidden;
/* Free allocated stack. */
-extern void __deallocate_stack (struct pthread *pd)
- attribute_hidden internal_function;
+extern void __deallocate_stack (struct pthread *pd) attribute_hidden;
/* Mark all the stacks except for the current one as available. This
function also re-initializes the lock for the stack cache. */
#ifdef TLS_MULTIPLE_THREADS_IN_TCB
extern void __libc_pthread_init (unsigned long int *ptr,
void (*reclaim) (void),
- const struct pthread_functions *functions)
- internal_function;
+ const struct pthread_functions *functions);
#else
extern int *__libc_pthread_init (unsigned long int *ptr,
void (*reclaim) (void),
- const struct pthread_functions *functions)
- internal_function;
+ const struct pthread_functions *functions);
/* Variable set to a nonzero value either if more than one thread runs or ran,
or if a single-threaded process is trying to cancel itself. See
extern int __pthread_mutex_timedlock (pthread_mutex_t *__mutex,
const struct timespec *__abstime);
extern int __pthread_mutex_cond_lock (pthread_mutex_t *__mutex)
- attribute_hidden internal_function;
+ attribute_hidden;
extern void __pthread_mutex_cond_lock_adjust (pthread_mutex_t *__mutex)
- attribute_hidden internal_function;
+ attribute_hidden;
extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex);
extern int __pthread_mutex_unlock_usercnt (pthread_mutex_t *__mutex,
- int __decr)
- attribute_hidden internal_function;
+ int __decr) attribute_hidden;
extern int __pthread_mutexattr_init (pthread_mutexattr_t *attr);
extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *attr);
extern int __pthread_mutexattr_settype (pthread_mutexattr_t *attr, int kind);
extern int __pthread_join (pthread_t threadid, void **thread_return);
extern int __pthread_setcanceltype (int type, int *oldtype);
extern int __pthread_enable_asynccancel (void) attribute_hidden;
-extern void __pthread_disable_asynccancel (int oldtype)
- internal_function attribute_hidden;
+extern void __pthread_disable_asynccancel (int oldtype) attribute_hidden;
extern void __pthread_testcancel (void);
#if IS_IN (libpthread)
/* The two functions are in libc.so and not exported. */
extern int __libc_enable_asynccancel (void) attribute_hidden;
-extern void __libc_disable_asynccancel (int oldtype)
- internal_function attribute_hidden;
+extern void __libc_disable_asynccancel (int oldtype) attribute_hidden;
/* The two functions are in librt.so and not exported. */
extern int __librt_enable_asynccancel (void) attribute_hidden;
-extern void __librt_disable_asynccancel (int oldtype)
- internal_function attribute_hidden;
+extern void __librt_disable_asynccancel (int oldtype) attribute_hidden;
#if IS_IN (libpthread)
/* Special versions which use non-exported functions. */