summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-23 18:00:21 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-23 18:00:21 +0000
commit71dcdb6d0189761ecc27691932502eacdf7e6b2c (patch)
treee43907895b457d875f314ad26d153445c1071622 /sysdeps
parentccebcf4e6d0b42681cc78edbfd2d2adec674f7c7 (diff)
Rename __pthread_initialize into __pthread_init
The former conflicts with usage in glibc. * pthread/pt-initialize.c (__pthread_initialize): Rename into __pthread_init. * pthread/pt-internal.h (__pthread_initialize): Likewise. * sysdeps/l4/hurd/pt-sysdep.c (init_routine): Likewise. * sysdeps/mach/hurd/pt-sysdep.c (init_routine): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/l4/hurd/pt-sysdep.c2
-rw-r--r--sysdeps/mach/hurd/pt-sysdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/l4/hurd/pt-sysdep.c b/sysdeps/l4/hurd/pt-sysdep.c
index c23364c..1df6c2e 100644
--- a/sysdeps/l4/hurd/pt-sysdep.c
+++ b/sysdeps/l4/hurd/pt-sysdep.c
@@ -45,7 +45,7 @@ static void
init_routine (void (*entry) (void *), void *arg)
{
/* Initialize the library. */
- __pthread_initialize ();
+ __pthread_init();
struct __pthread *thread;
int err;
diff --git a/sysdeps/mach/hurd/pt-sysdep.c b/sysdeps/mach/hurd/pt-sysdep.c
index 5e07006..95a4d36 100644
--- a/sysdeps/mach/hurd/pt-sysdep.c
+++ b/sysdeps/mach/hurd/pt-sysdep.c
@@ -45,7 +45,7 @@ init_routine (void)
int err;
/* Initialize the library. */
- __pthread_initialize ();
+ __pthread_init ();
/* Create the pthread structure for the main thread (i.e. us). */
err = __pthread_create_internal (&thread, 0, 0, 0);