about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-09-11 06:27:40 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-09-11 06:43:18 -0700
commitd8f0433371731d83a754ad173215e6a38d712424 (patch)
treec2b583f773a6d299cbf396aac7fca8acaf076124
parentaf345c230d3f2d2b810cfec292188e26c3da5a48 (diff)
downloadglibc-d8f0433371731d83a754ad173215e6a38d712424.tar.gz
glibc-d8f0433371731d83a754ad173215e6a38d712424.tar.xz
glibc-d8f0433371731d83a754ad173215e6a38d712424.zip
Make pthread_rwlock_destroy/pthread_rwlock_init/weak
	* pthread_rwlock_destroy.c (pthread_rwlock_destroy): Replace
	strong_alias with weak_alias.
	* pthread_rwlock_init.c (pthread_rwlock_init): Likewise.
-rw-r--r--nptl/pthread_rwlock_destroy.c2
-rw-r--r--nptl/pthread_rwlock_init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_rwlock_destroy.c b/nptl/pthread_rwlock_destroy.c
index 7faf0c3757..bc956e450f 100644
--- a/nptl/pthread_rwlock_destroy.c
+++ b/nptl/pthread_rwlock_destroy.c
@@ -29,4 +29,4 @@ __pthread_rwlock_destroy (rwlock)
   /* Nothing to be done.  For now.  */
   return 0;
 }
-strong_alias (__pthread_rwlock_destroy, pthread_rwlock_destroy)
+weak_alias (__pthread_rwlock_destroy, pthread_rwlock_destroy)
diff --git a/nptl/pthread_rwlock_init.c b/nptl/pthread_rwlock_init.c
index 23ee6c659d..471a994a56 100644
--- a/nptl/pthread_rwlock_init.c
+++ b/nptl/pthread_rwlock_init.c
@@ -70,4 +70,4 @@ __pthread_rwlock_init (rwlock, attr)
 
   return 0;
 }
-strong_alias (__pthread_rwlock_init, pthread_rwlock_init)
+weak_alias (__pthread_rwlock_init, pthread_rwlock_init)