diff options
Diffstat (limited to 'nptl')
26 files changed, 50 insertions, 24 deletions
diff --git a/nptl/pthread_attr_destroy.c b/nptl/pthread_attr_destroy.c index 088800cd8a..fec04163b1 100644 --- a/nptl/pthread_attr_destroy.c +++ b/nptl/pthread_attr_destroy.c @@ -25,7 +25,7 @@ int -pthread_attr_destroy (attr) +__pthread_attr_destroy (attr) pthread_attr_t *attr; { /* Enqueue the attributes to the list of all known variables. */ @@ -64,3 +64,4 @@ pthread_attr_destroy (attr) return 0; } +strong_alias (__pthread_attr_destroy, pthread_attr_destroy) diff --git a/nptl/pthread_attr_getdetachstate.c b/nptl/pthread_attr_getdetachstate.c index a1a0549c2e..502cfa4f1f 100644 --- a/nptl/pthread_attr_getdetachstate.c +++ b/nptl/pthread_attr_getdetachstate.c @@ -22,7 +22,7 @@ int -pthread_attr_getdetachstate (attr, detachstate) +__pthread_attr_getdetachstate (attr, detachstate) const pthread_attr_t *attr; int *detachstate; { @@ -36,3 +36,4 @@ pthread_attr_getdetachstate (attr, detachstate) return 0; } +strong_alias (__pthread_attr_getdetachstate, pthread_attr_getdetachstate) diff --git a/nptl/pthread_attr_getinheritsched.c b/nptl/pthread_attr_getinheritsched.c index faba994062..f47bf7147b 100644 --- a/nptl/pthread_attr_getinheritsched.c +++ b/nptl/pthread_attr_getinheritsched.c @@ -22,7 +22,7 @@ int -pthread_attr_getinheritsched (attr, inherit) +__pthread_attr_getinheritsched (attr, inherit) const pthread_attr_t *attr; int *inherit; { @@ -37,3 +37,4 @@ pthread_attr_getinheritsched (attr, inherit) return 0; } +strong_alias (__pthread_attr_getinheritsched, pthread_attr_getinheritsched) diff --git a/nptl/pthread_attr_getschedparam.c b/nptl/pthread_attr_getschedparam.c index 93961d555c..0ff0c0c4fc 100644 --- a/nptl/pthread_attr_getschedparam.c +++ b/nptl/pthread_attr_getschedparam.c @@ -23,7 +23,7 @@ int -pthread_attr_getschedparam (attr, param) +__pthread_attr_getschedparam (attr, param) const pthread_attr_t *attr; struct sched_param *param; { @@ -37,3 +37,4 @@ pthread_attr_getschedparam (attr, param) return 0; } +strong_alias (__pthread_attr_getschedparam, pthread_attr_getschedparam) diff --git a/nptl/pthread_attr_getschedpolicy.c b/nptl/pthread_attr_getschedpolicy.c index 18293f255a..8364f3be06 100644 --- a/nptl/pthread_attr_getschedpolicy.c +++ b/nptl/pthread_attr_getschedpolicy.c @@ -22,7 +22,7 @@ int -pthread_attr_getschedpolicy (attr, policy) +__pthread_attr_getschedpolicy (attr, policy) const pthread_attr_t *attr; int *policy; { @@ -36,3 +36,4 @@ pthread_attr_getschedpolicy (attr, policy) return 0; } +strong_alias (__pthread_attr_getschedpolicy, pthread_attr_getschedpolicy) diff --git a/nptl/pthread_attr_getscope.c b/nptl/pthread_attr_getscope.c index 1b97ef3b36..b6aa5a2135 100644 --- a/nptl/pthread_attr_getscope.c +++ b/nptl/pthread_attr_getscope.c @@ -22,7 +22,7 @@ int -pthread_attr_getscope (attr, scope) +__pthread_attr_getscope (attr, scope) const pthread_attr_t *attr; int *scope; { @@ -37,3 +37,4 @@ pthread_attr_getscope (attr, scope) return 0; } +strong_alias (__pthread_attr_getscope, pthread_attr_getscope) diff --git a/nptl/pthread_attr_setdetachstate.c b/nptl/pthread_attr_setdetachstate.c index 3f247cf762..a0e6c20178 100644 --- a/nptl/pthread_attr_setdetachstate.c +++ b/nptl/pthread_attr_setdetachstate.c @@ -23,7 +23,7 @@ int -pthread_attr_setdetachstate (attr, detachstate) +__pthread_attr_setdetachstate (attr, detachstate) pthread_attr_t *attr; int detachstate; { @@ -45,3 +45,4 @@ pthread_attr_setdetachstate (attr, detachstate) return 0; } +strong_alias (__pthread_attr_setdetachstate, pthread_attr_setdetachstate) diff --git a/nptl/pthread_attr_setinheritsched.c b/nptl/pthread_attr_setinheritsched.c index f724396c9a..8a77eeb65f 100644 --- a/nptl/pthread_attr_setinheritsched.c +++ b/nptl/pthread_attr_setinheritsched.c @@ -23,7 +23,7 @@ int -pthread_attr_setinheritsched (attr, inherit) +__pthread_attr_setinheritsched (attr, inherit) pthread_attr_t *attr; int inherit; { @@ -44,3 +44,4 @@ pthread_attr_setinheritsched (attr, inherit) return 0; } +strong_alias (__pthread_attr_setinheritsched, pthread_attr_setinheritsched) diff --git a/nptl/pthread_attr_setschedparam.c b/nptl/pthread_attr_setschedparam.c index 2ffba99008..aa365326c4 100644 --- a/nptl/pthread_attr_setschedparam.c +++ b/nptl/pthread_attr_setschedparam.c @@ -24,7 +24,7 @@ int -pthread_attr_setschedparam (attr, param) +__pthread_attr_setschedparam (attr, param) pthread_attr_t *attr; const struct sched_param *param; { @@ -47,3 +47,4 @@ pthread_attr_setschedparam (attr, param) return 0; } +strong_alias (__pthread_attr_setschedparam, pthread_attr_setschedparam) diff --git a/nptl/pthread_attr_setschedpolicy.c b/nptl/pthread_attr_setschedpolicy.c index 65bf155b7b..73a7c4425a 100644 --- a/nptl/pthread_attr_setschedpolicy.c +++ b/nptl/pthread_attr_setschedpolicy.c @@ -23,7 +23,7 @@ int -pthread_attr_setschedpolicy (attr, policy) +__pthread_attr_setschedpolicy (attr, policy) pthread_attr_t *attr; int policy; { @@ -41,3 +41,4 @@ pthread_attr_setschedpolicy (attr, policy) return 0; } +strong_alias (__pthread_attr_setschedpolicy, pthread_attr_setschedpolicy) diff --git a/nptl/pthread_attr_setscope.c b/nptl/pthread_attr_setscope.c index 1435afbe2c..8b3e1612ea 100644 --- a/nptl/pthread_attr_setscope.c +++ b/nptl/pthread_attr_setscope.c @@ -23,7 +23,7 @@ int -pthread_attr_setscope (attr, scope) +__pthread_attr_setscope (attr, scope) pthread_attr_t *attr; int scope; { @@ -48,3 +48,4 @@ pthread_attr_setscope (attr, scope) return 0; } +strong_alias (__pthread_attr_setscope, pthread_attr_setscope) diff --git a/nptl/pthread_cond_broadcast.c b/nptl/pthread_cond_broadcast.c index 20cc39f269..ac6dca374a 100644 --- a/nptl/pthread_cond_broadcast.c +++ b/nptl/pthread_cond_broadcast.c @@ -21,10 +21,11 @@ int -pthread_cond_broadcast (cond) +__pthread_cond_broadcast (cond) pthread_cond_t *cond; { lll_cond_broadcast (cond); return 0; } +strong_alias (__pthread_cond_broadcast, pthread_cond_broadcast) diff --git a/nptl/pthread_cond_destroy.c b/nptl/pthread_cond_destroy.c index 05299fc7a9..750cd0cd4c 100644 --- a/nptl/pthread_cond_destroy.c +++ b/nptl/pthread_cond_destroy.c @@ -22,8 +22,9 @@ int -pthread_cond_destroy (cond) +__pthread_cond_destroy (cond) pthread_cond_t *cond; { return 0; } +strong_alias (__pthread_cond_destroy, pthread_cond_destroy) diff --git a/nptl/pthread_cond_init.c b/nptl/pthread_cond_init.c index 309fc6a471..2b782c2929 100644 --- a/nptl/pthread_cond_init.c +++ b/nptl/pthread_cond_init.c @@ -21,7 +21,7 @@ int -pthread_cond_init (cond, cond_attr) +__pthread_cond_init (cond, cond_attr) pthread_cond_t *cond; const pthread_condattr_t *cond_attr; { @@ -35,3 +35,4 @@ pthread_cond_init (cond, cond_attr) return 0; } +strong_alias (__pthread_cond_init, pthread_cond_init) diff --git a/nptl/pthread_cond_signal.c b/nptl/pthread_cond_signal.c index 58573d327f..57618d4484 100644 --- a/nptl/pthread_cond_signal.c +++ b/nptl/pthread_cond_signal.c @@ -21,10 +21,11 @@ int -pthread_cond_signal (cond) +__pthread_cond_signal (cond) pthread_cond_t *cond; { lll_cond_wake (cond); return 0; } +strong_alias (__pthread_cond_signal, pthread_cond_signal) diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c index 0e3e87fd61..1e74418097 100644 --- a/nptl/pthread_cond_wait.c +++ b/nptl/pthread_cond_wait.c @@ -22,7 +22,7 @@ int -pthread_cond_wait (cond, mutex) +__pthread_cond_wait (cond, mutex) pthread_cond_t *cond; pthread_mutex_t *mutex; { @@ -64,3 +64,4 @@ pthread_cond_wait (cond, mutex) return err; } +strong_alias (__pthread_cond_wait, pthread_cond_wait) diff --git a/nptl/pthread_condattr_destroy.c b/nptl/pthread_condattr_destroy.c index 4bce09dc2c..e6d069e40d 100644 --- a/nptl/pthread_condattr_destroy.c +++ b/nptl/pthread_condattr_destroy.c @@ -21,9 +21,10 @@ int -pthread_condattr_destroy (attr) +__pthread_condattr_destroy (attr) pthread_condattr_t *attr; { /* Nothing to be done. */ return 0; } +strong_alias (__pthread_condattr_destroy, pthread_condattr_destroy) diff --git a/nptl/pthread_condattr_init.c b/nptl/pthread_condattr_init.c index 4e8aaf9603..738deb4893 100644 --- a/nptl/pthread_condattr_init.c +++ b/nptl/pthread_condattr_init.c @@ -22,10 +22,11 @@ int -pthread_condattr_init (attr) +__pthread_condattr_init (attr) pthread_condattr_t *attr; { memset (attr, '\0', sizeof (*attr)); return 0; } +strong_alias (__pthread_condattr_init, pthread_condattr_init) diff --git a/nptl/pthread_equal.c b/nptl/pthread_equal.c index f2ef2b4dab..062da03ee7 100644 --- a/nptl/pthread_equal.c +++ b/nptl/pthread_equal.c @@ -21,9 +21,10 @@ int -pthread_equal (thread1, thread2) +__pthread_equal (thread1, thread2) pthread_t thread1; pthread_t thread2; { return thread1 == thread2; } +strong_alias (__pthread_equal, pthread_equal) diff --git a/nptl/pthread_exit.c b/nptl/pthread_exit.c index 82065576a1..85d8fd4565 100644 --- a/nptl/pthread_exit.c +++ b/nptl/pthread_exit.c @@ -22,10 +22,11 @@ void -pthread_exit (value) +__pthread_exit (value) void *value; { THREAD_SETMEM (THREAD_SELF, result, value); __do_cancel (); } +strong_alias (__pthread_exit, pthread_exit) diff --git a/nptl/pthread_getschedparam.c b/nptl/pthread_getschedparam.c index 3e23ffaac8..72b366d8cf 100644 --- a/nptl/pthread_getschedparam.c +++ b/nptl/pthread_getschedparam.c @@ -23,7 +23,7 @@ int -pthread_getschedparam (thread_id, policy, param) +__pthread_getschedparam (thread_id, policy, param) pthread_t thread_id; int *policy; struct sched_param *param; @@ -49,3 +49,4 @@ pthread_getschedparam (thread_id, policy, param) return 0; } +strong_alias (__pthread_getschedparam, pthread_getschedparam) diff --git a/nptl/pthread_mutex_destroy.c b/nptl/pthread_mutex_destroy.c index e3dba3794a..a86ff27461 100644 --- a/nptl/pthread_mutex_destroy.c +++ b/nptl/pthread_mutex_destroy.c @@ -27,3 +27,4 @@ __pthread_mutex_destroy (mutex) return 0; } strong_alias (__pthread_mutex_destroy, pthread_mutex_destroy) +INTDEF(__pthread_mutex_destroy) diff --git a/nptl/pthread_mutex_init.c b/nptl/pthread_mutex_init.c index 3a783d768d..038e09d008 100644 --- a/nptl/pthread_mutex_init.c +++ b/nptl/pthread_mutex_init.c @@ -53,3 +53,4 @@ __pthread_mutex_init (mutex, mutexattr) return 0; } strong_alias (__pthread_mutex_init, pthread_mutex_init) +INTDEF(__pthread_mutex_init) diff --git a/nptl/pthread_self.c b/nptl/pthread_self.c index ad231cd928..f0e3b3f98c 100644 --- a/nptl/pthread_self.c +++ b/nptl/pthread_self.c @@ -22,7 +22,8 @@ pthread_t -pthread_self (void) +__pthread_self (void) { return (pthread_t) THREAD_SELF; } +strong_alias (__pthread_self, pthread_self) diff --git a/nptl/pthread_setcancelstate.c b/nptl/pthread_setcancelstate.c index a4466cad6e..3f6ed863c3 100644 --- a/nptl/pthread_setcancelstate.c +++ b/nptl/pthread_setcancelstate.c @@ -23,7 +23,7 @@ int -pthread_setcancelstate (state, oldstate) +__pthread_setcancelstate (state, oldstate) int state; int *oldstate; { @@ -66,3 +66,4 @@ pthread_setcancelstate (state, oldstate) return 0; } +strong_alias (__pthread_setcancelstate, pthread_setcancelstate) diff --git a/nptl/pthread_setschedparam.c b/nptl/pthread_setschedparam.c index f662405892..cdba80cf07 100644 --- a/nptl/pthread_setschedparam.c +++ b/nptl/pthread_setschedparam.c @@ -25,7 +25,7 @@ int -pthread_setschedparam (thread_id, policy, param) +__pthread_setschedparam (thread_id, policy, param) pthread_t thread_id; int policy; const struct sched_param *param; @@ -57,3 +57,4 @@ pthread_setschedparam (thread_id, policy, param) return result; } +strong_alias (__pthread_setschedparam, pthread_setschedparam) |