[uClibc-cvs] uClibc/libc/inet/rpc rpc_thread.c,1.6,1.7

Erik Andersen andersen at uclibc.org
Fri May 14 11:12:27 UTC 2004


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) \




More information about the uClibc-cvs mailing list