Subject: sun-lamp CVS commits
To: None <source-changes@sun-lamp.cs.berkeley.edu>
From: The Source Master <srcmastr@NetBSD.ORG>
List: source-changes
Date: 10/09/1994 21:50:02
jtc
Sun Oct  9 21:46:46 PDT 1994
Update of /b/source/CVS/src/lib/libc/gen
In directory sun-lamp.cs.berkeley.edu:/c/users/jtc/src/libc/gen

Modified Files:
	Makefile.inc siglist.c 
Added Files:
	_errlist.c _siglist.c errlist.c 
Removed Files:
	errlst.c 
Log Message:
Renamed sys_errlist[] and sys_nerr to __sys_errlist[] and __sys_nerr.
The traditional API of sys_errlist[] and sys_nerr is provided by weak
references if they are supported.  Otherwise, we're forced to have to
have two copies of the error message string table in the library.  
Fortunately, unless a program uses both sys_errlist[] and strerror(),
only one of the copies will be linked into the executable.

This is all to provide an clean namespace as required by ANSI.  I've 
done the same for sys_siglist[], even though it is not required, to
be consistant.