Commit Graph

9 Commits

Author SHA1 Message Date
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