Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Michael Graff <explorer@netbsd.org>
List: source-changes
Date: 12/03/1999 15:31:22
Module Name:	basesrc
Committed By:	explorer
Date:		Fri Dec  3 23:31:21 UTC 1999

Modified Files:
	basesrc/lib/libc/gen: _errno.c

Log Message:
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?


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 basesrc/lib/libc/gen/_errno.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.