Add namespace protected alias.
authorUlrich Drepper <drepper@redhat.com>
Sun, 15 Dec 2002 19:59:08 +0000 (19:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 15 Dec 2002 19:59:08 +0000 (19:59 +0000)
26 files changed:
nptl/pthread_attr_destroy.c
nptl/pthread_attr_getdetachstate.c
nptl/pthread_attr_getinheritsched.c
nptl/pthread_attr_getschedparam.c
nptl/pthread_attr_getschedpolicy.c
nptl/pthread_attr_getscope.c
nptl/pthread_attr_setdetachstate.c
nptl/pthread_attr_setinheritsched.c
nptl/pthread_attr_setschedparam.c
nptl/pthread_attr_setschedpolicy.c
nptl/pthread_attr_setscope.c
nptl/pthread_cond_broadcast.c
nptl/pthread_cond_destroy.c
nptl/pthread_cond_init.c
nptl/pthread_cond_signal.c
nptl/pthread_cond_wait.c
nptl/pthread_condattr_destroy.c
nptl/pthread_condattr_init.c
nptl/pthread_equal.c
nptl/pthread_exit.c
nptl/pthread_getschedparam.c
nptl/pthread_mutex_destroy.c
nptl/pthread_mutex_init.c
nptl/pthread_self.c
nptl/pthread_setcancelstate.c
nptl/pthread_setschedparam.c

index 088800c..fec0416 100644 (file)
@@ -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)
index a1a0549..502cfa4 100644 (file)
@@ -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)
index faba994..f47bf71 100644 (file)
@@ -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)
index 93961d5..0ff0c0c 100644 (file)
@@ -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)
index 18293f2..8364f3b 100644 (file)
@@ -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)
index 1b97ef3..b6aa5a2 100644 (file)
@@ -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)
index 3f247cf..a0e6c20 100644 (file)
@@ -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)
index f724396..8a77eeb 100644 (file)
@@ -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)
index 2ffba99..aa36532 100644 (file)
@@ -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)
index 65bf155..73a7c44 100644 (file)
@@ -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)
index 1435afb..8b3e161 100644 (file)
@@ -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)
index 20cc39f..ac6dca3 100644 (file)
 
 
 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)
index 05299fc..750cd0c 100644 (file)
@@ -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)
index 309fc6a..2b782c2 100644 (file)
@@ -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)
index 58573d3..57618d4 100644 (file)
 
 
 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)
index 0e3e87f..1e74418 100644 (file)
@@ -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)
index 4bce09d..e6d069e 100644 (file)
 
 
 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)
index 4e8aaf9..738deb4 100644 (file)
 
 
 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)
index f2ef2b4..062da03 100644 (file)
 
 
 int
-pthread_equal (thread1, thread2)
+__pthread_equal (thread1, thread2)
      pthread_t thread1;
      pthread_t thread2;
 {
   return thread1 == thread2;
 }
+strong_alias (__pthread_equal, pthread_equal)
index 8206557..85d8fd4 100644 (file)
 
 
 void
-pthread_exit (value)
+__pthread_exit (value)
      void *value;
 {
   THREAD_SETMEM (THREAD_SELF, result, value);
 
   __do_cancel ();
 }
+strong_alias (__pthread_exit, pthread_exit)
index 3e23ffa..72b366d 100644 (file)
@@ -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)
index e3dba37..a86ff27 100644 (file)
@@ -27,3 +27,4 @@ __pthread_mutex_destroy (mutex)
   return 0;
 }
 strong_alias (__pthread_mutex_destroy, pthread_mutex_destroy)
+INTDEF(__pthread_mutex_destroy)
index 3a783d7..038e09d 100644 (file)
@@ -53,3 +53,4 @@ __pthread_mutex_init (mutex, mutexattr)
   return 0;
 }
 strong_alias (__pthread_mutex_init, pthread_mutex_init)
+INTDEF(__pthread_mutex_init)
index ad231cd..f0e3b3f 100644 (file)
@@ -22,7 +22,8 @@
 
 
 pthread_t
-pthread_self (void)
+__pthread_self (void)
 {
   return (pthread_t) THREAD_SELF;
 }
+strong_alias (__pthread_self, pthread_self)
index a4466ca..3f6ed86 100644 (file)
@@ -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)
index f662405..cdba80c 100644 (file)
@@ -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)