]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 088800cd8ad655a82464061a36f51aac9380dd64..fec04163b16e301cbb6d993c5d187b6e9fe53609 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 a1a0549c2ecffda6be1ce02c3bad8d8c7725e2fb..502cfa4f1f3ad1365ea63dfacd85316377440c32 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 faba9940629922863cf87f9d5e66017cb37a2677..f47bf7147b5761c25ba3cd9f4190a0f0dc881814 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 93961d555c1448f3ce0a32e0cfabefe61833f084..0ff0c0c4fcfc1c4f7f1e748d04c770b5c92404da 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 18293f255a8d802bd42da005bc1a14533f84fb24..8364f3be06278a5ba527e66a0bb4c6ac5c903a3b 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 1b97ef3b36211a94eabe394fa8fe6d000cb9aefe..b6aa5a213553103691cb20745dae7db68eb715f7 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 3f247cf7626492d048284cd3f5f54b4f0ca22d13..a0e6c201780f25aebe618cc73bfeafa083c5026d 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 f724396c9ac1bb052f711ceb8f30391e2f1d44e1..8a77eeb65f9fff06e89de6d4d9c384ed9944df37 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 2ffba99008a97f8629664eb65d12ec1016b321fa..aa365326c41d7bd0db996f48eb3e2bead7f149f4 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 65bf155b7b6efc7d1d8218080f6b39887d1a832e..73a7c4425aac7936dc9840e9ddf499d41dccec2b 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 1435afbe2c87e4ab781a5f68688439cc670780f1..8b3e1612ea68a7fe31b807ba0b584861c5a53378 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 20cc39f2699fb665add19cd94fa5fdc0b6ac2da0..ac6dca374ac6ae52f30598a9487b746c265e66f0 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 05299fc7a9eb487b18627a56ba265ebb49aa7e34..750cd0cd4c6bfe7a63e5547c299becbcb2cff9a7 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 309fc6a4714dfdd69bac978b343a142f06c39330..2b782c2929351687356f25adad74bcd0734b80ed 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 58573d327fea49ccef2068d334e27f975ff48304..57618d44843662da974f5af31e03f654941ad0cb 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 0e3e87fd611befef35b315446eaf8de233a88e3b..1e744180979b5e19d93a2b0dd9490ea3d65918ba 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 4bce09dc2c3edc1c0f39521717dd581b29cff8a4..e6d069e40dc8317041f3e0b29217c1756f206131 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 4e8aaf960375f5d823ab1335da71a9126f8cf15c..738deb48939731289faa45986548830809b1d792 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 f2ef2b4dabe2d61c16faeefbda61c20fa77157af..062da03ee7196fc48176bac56bd8941b35c597d9 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 82065576a17aea887eb76e4860366bdc66bd71fe..85d8fd45652f48b1f6503b6ef5bd1c2721bbb162 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 3e23ffaac80d238392e4a10c2f69e5257f1f8698..72b366d8cf64ec0b5b364380e8f74f337f6052d9 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 e3dba3794a385bf0c7ff051705cf2f6c60197151..a86ff27461896b5b4509bdf119f4b423085d14bd 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 3a783d768da192f8ba3ffaeb6c688f43406e5e0f..038e09d0089ef04269855d527256ee0c0504f8a9 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 ad231cd928f551873edb6811eead2d04b71df28a..f0e3b3f98c2bf24800468bb15d5767cb2a0b6916 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 a4466cad6e218aec21bc78d981e60a62ba11b98c..3f6ed863c38e4f107bb28a71eed15b521d4f41f0 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 f6624058927ddabe29271e51de8aa40ea038af42..cdba80cf078dab3c086d96e2cdb3099c1b8e8547 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)