]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a leading underscore to the pthread_main_np function name, and
authoriedowse <iedowse@FreeBSD.org>
Tue, 3 Apr 2001 22:25:39 +0000 (22:25 +0000)
committeriedowse <iedowse@FreeBSD.org>
Tue, 3 Apr 2001 22:25:39 +0000 (22:25 +0000)
commitcc67d8ceca336c033d20ccecace04af22d9e1bc4
tree4ada7f8f0969f3284e02256333b1885f0f21d4c1
parent860771198c0638c98c2c310be1a248d4d65a9dff
Add a leading underscore to the pthread_main_np function name, and
a "#pragma weak" directive linking the external symbol. This matches
the other pthread_* definitions, and ensures that users of this
function from within libc get the real version, not the stub.

Suggested by: deischen
Reviewed by: deischen, alfred
lib/libc_r/uthread/uthread_main_np.c
lib/libkse/thread/thr_main_np.c
lib/libpthread/thread/thr_main_np.c