diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-15 19:59:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-15 19:59:08 +0000 |
commit | 8361400815265a29038f6833d12fc8e830340d84 (patch) | |
tree | 24e25e7249e7830956a1b72927039ea5cf4ef510 /nptl | |
parent | 7ad6b6eb3a2dc3a146102e95a223554df67aa7fe (diff) | |
download | glibc-8361400815265a29038f6833d12fc8e830340d84.zip glibc-8361400815265a29038f6833d12fc8e830340d84.tar.gz glibc-8361400815265a29038f6833d12fc8e830340d84.tar.bz2 |
Add namespace protected alias.
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 088800c..fec0416 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 a1a0549..502cfa4 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 faba994..f47bf71 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 93961d5..0ff0c0c 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 18293f2..8364f3b 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 1b97ef3..b6aa5a2 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 3f247cf..a0e6c20 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 f724396..8a77eeb 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 2ffba99..aa36532 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 65bf155..73a7c44 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 1435afb..8b3e161 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 20cc39f..ac6dca3 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 05299fc..750cd0c 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 309fc6a..2b782c2 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 58573d3..57618d4 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 0e3e87f..1e74418 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 4bce09dc..e6d069e 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 4e8aaf9..738deb4 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 f2ef2b4..062da03 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 8206557..85d8fd4 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 3e23ffa..72b366d 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 e3dba37..a86ff27 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 3a783d7..038e09d 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 ad231cd..f0e3b3f 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 a4466ca..3f6ed86 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 f662405..cdba80c 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) |