[prev in list] [next in list] [prev in thread] [next in thread]
List: uclibc-cvs
Subject: [uClibc-cvs] uClibc/libc/inet/rpc rpc_thread.c,1.6,1.7
From: andersen () uclibc ! org (Erik Andersen)
Date: 2004-05-14 5:12:30
Message-ID: 20040514111227.31026B4007 () codepoet ! org
[Download RAW message or body]
Update of /var/cvs/uClibc/libc/inet/rpc
In directory nail:/tmp/cvs-serv22916/libc/inet/rpc
Modified Files:
rpc_thread.c
Log Message:
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
Index: rpc_thread.c
===================================================================
RCS file: /var/cvs/uClibc/libc/inet/rpc/rpc_thread.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- a/rpc_thread.c 12 Aug 2002 09:13:57 -0000 1.6
+++ b/rpc_thread.c 14 May 2004 11:12:24 -0000 1.7
@@ -35,7 +35,7 @@
}
-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) \
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic