summaryrefslogtreecommitdiffstats
path: root/libc/misc/pthread/weaks.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-24 16:15:28 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-24 16:15:28 +0000
commitdd4c03d796f73e008d93ade62655deb70aaaf34a (patch)
tree381f07ac566718afc00cde9a5470ad8bf16625e4 /libc/misc/pthread/weaks.c
parent0f82408c13d9e8be9dd022b0c21411fe86693f67 (diff)
downloaduClibc-alpine-dd4c03d796f73e008d93ade62655deb70aaaf34a.tar.bz2
uClibc-alpine-dd4c03d796f73e008d93ade62655deb70aaaf34a.tar.xz
Big sync with trunk.
Diffstat (limited to 'libc/misc/pthread/weaks.c')
-rw-r--r--libc/misc/pthread/weaks.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libc/misc/pthread/weaks.c b/libc/misc/pthread/weaks.c
index 8486dc203..6767cfffb 100644
--- a/libc/misc/pthread/weaks.c
+++ b/libc/misc/pthread/weaks.c
@@ -24,6 +24,18 @@
static int __pthread_return_0 __P ((void));
static int __pthread_return_1 __P ((void));
+static int
+__pthread_return_0 (void)
+{
+ return 0;
+}
+
+static int
+__pthread_return_1 (void)
+{
+ return 1;
+}
+
/**********************************************************************/
/* Weaks for application/library use.
*
@@ -105,15 +117,3 @@ weak_alias (__pthread_return_0, __pthread_mutex_trylock)
weak_alias (__pthread_return_0, __pthread_mutex_unlock)
/**********************************************************************/
-
-static int
-__pthread_return_0 (void)
-{
- return 0;
-}
-
-static int
-__pthread_return_1 (void)
-{
- return 1;
-}