Commit Graph

12 Commits

Author SHA1 Message Date
lukem 88c3eadbfa Add missing __RCSID() 2005-06-12 05:21:25 +00:00
christos c8042cb209 no need to declare __isthreaded. 2003-05-28 19:57:22 +00:00
thorpej 3fdac2b8c5 Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
christos a2df081a7e -Wredundant-declarations does not like nested extern declarations. 2000-12-10 03:52:16 +00:00
explorer cda5601f3c revert this file, the changes I made were quite unnecessary. 1999-12-10 17:27:28 +00:00
explorer 5bfb624265 Put the function prototype back. Grr. 1999-12-03 23:34:41 +00:00
explorer bb10ce81bd Do this a bit differently.
On platforms where we can use weak aliases, use
	__weak_alias(__errno, __errno_func);
and on platforms where we cannot, just compile the function as
__errno, since on those platforms we cannot make libc thread-safe,
at least using this trick.

Are there any platforms where we cannot do __weak_alias() anymore?
1999-12-03 23:31:20 +00:00
explorer c9227efe70 Make __errno() be a weak alias for __errno_func(), so thread packages
can actually override what plain old 'errno' looks like.
1999-12-03 23:24:33 +00:00
jtc 990a11b9c6 Fix files using old TNF copyright notice 1997-07-30 23:53:32 +00:00
christos 19228f8132 Move the #undef errno where it is actually needed. 1997-07-13 18:53:13 +00:00
jtc a13179edf1 Declare global errno 1996-11-08 00:27:35 +00:00
jtc 8610f496a7 New __errno() function, returns the address of the errno variable. 1996-11-07 05:37:34 +00:00