Commit Graph

12 Commits

Author SHA1 Message Date
mycroft af3e075076 Make some needed weak aliases. 1999-08-17 03:43:59 +00:00
jonathan bf3db28f12 Move warnings about sys_errlist[], sys_nerr, __sys_errlist, _sys_nerr
to _sys_siglist.c, so the warning is shown once at link time, not three times
(once for errlist.c itself,  once each for the two includes in _sys_siglist.c).
1998-12-06 07:12:18 +00:00
thorpej 126eb1160e Warn about references to the compatibility sys_errlist[] or sys_nerr, and
direct the user to include <errno.h> to generate the correct reference.

Warn about references to the deprecated __sys_signame[] or __sys_nerr, and
direct the user to include <errno.h> and use sys_errlist or sys_nerr instead.
1998-12-01 20:38:02 +00:00
mycroft 79654a9459 Back out the changes that broke old executables referring to sys_errlist[]. 1998-03-03 00:34:38 +00:00
kleink 7cf291e0dd Add ENOMSG. 1998-02-08 19:04:31 +00:00
mikel fff4d1182d add EAUTH, ENEEDAUTH, EIDRM 1998-02-06 08:44:21 +00:00
mycroft 7b360ef2b7 Make _sys_nerr const. 1997-10-09 11:31:05 +00:00
christos 26cc2d4f50 Fix RCSID's 1997-07-13 19:45:36 +00:00
cgd 6e6a4e85b0 update to 4.4-Lite where appropriate, clean up Id format, etc. 1995-02-25 13:40:51 +00:00
jtc 3c98cdcd84 Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.
1994-12-12 22:41:50 +00:00
cgd 08ef3b378e typo 1994-10-25 03:41:32 +00:00
jtc c50384799a 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.
1994-10-10 04:46:39 +00:00