diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-05-03 23:02:31 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:43 +0200 |
commit | 4b06ff8e51f24313b8a24a2f9e2005ef13848964 (patch) | |
tree | 3543f607c0f81e3bffa0183f93f2fe9853059444 /libpthread/linuxthreads/internals.h | |
parent | eb0e749888f3493946712ab13ec95d0bcaabf717 (diff) |
move __libc_pthread_init prototype to pthread-functions.h
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/linuxthreads/internals.h')
-rw-r--r-- | libpthread/linuxthreads/internals.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libpthread/linuxthreads/internals.h b/libpthread/linuxthreads/internals.h index 89aa1b635..e855f5062 100644 --- a/libpthread/linuxthreads/internals.h +++ b/libpthread/linuxthreads/internals.h @@ -30,7 +30,7 @@ #include <bits/sigcontextinfo.h> #include <bits/pthreadtypes.h> -#ifdef USE_TLS +#ifdef __UCLIBC_HAS_TLS__ #include <tls.h> #endif #include "descr.h" @@ -506,8 +506,6 @@ extern pid_t __pthread_fork (struct fork_block *b) attribute_hidden; # define LIBC_CANCEL_HANDLED() /* Nothing. */ #endif -extern int * __libc_pthread_init (const struct pthread_functions *functions); - #if !defined NOT_IN_libc && !defined FLOATING_STACKS # ifdef SHARED # define thread_self() \ @@ -518,7 +516,7 @@ weak_extern (__pthread_thread_self) # endif #endif -#ifndef USE_TLS +#ifndef __UCLIBC_HAS_TLS__ # define __manager_thread (&__pthread_manager_thread) #else # define __manager_thread __pthread_manager_threadp |