summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-05-14 11:12:25 +0000
committerEric Andersen <andersen@codepoet.org>2004-05-14 11:12:25 +0000
commit2900ba44088c4c0efafc71ebcf69cb578c95b453 (patch)
tree85380e57578050974b95f315f4308d65647ff7df /libc/inet/rpc
parent297b6bb585320c9ee650258fb3d3e7e812cdc5a8 (diff)
Joakim Tjernlund writes:
Hi Erik It seems to me that __pthread_once and __pthread_initialize_minimal could be made WEAKs with no stub. The code in rpc_thread.c and __uClibc_main.c appears to expect this. Also, __pthread_return_0 __pthread_return_1 and __pthread_return_void can be static, not to pollute the name space. Jocke
Diffstat (limited to 'libc/inet/rpc')
-rw-r--r--libc/inet/rpc/rpc_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/rpc_thread.c b/libc/inet/rpc/rpc_thread.c
index ba5350ec9..75a5d0f4d 100644
--- a/libc/inet/rpc/rpc_thread.c
+++ b/libc/inet/rpc/rpc_thread.c
@@ -35,7 +35,7 @@ __rpc_thread_destroy (void)
}
-extern int __pthread_once (pthread_once_t *__once_control,
+extern int weak_function __pthread_once (pthread_once_t *__once_control,
void (*__init_routine) (void));
# define __libc_once_define(CLASS, NAME) \