1 /* $NetBSD: compat__sys_errlist.c,v 1.1 2005/09/13 01:44:09 christos Exp $ */
4 * Written by J.T. Conklin, December 12, 1994
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: compat__sys_errlist.c,v 1.1 2005/09/13 01:44:09 christos Exp $");
11 #endif /* LIBC_SCCS and not lint */
13 __warn_references(sys_errlist
,
14 "warning: reference to compatibility sys_errlist[]; include <errno.h> for correct reference")
15 __warn_references(__sys_errlist
,
16 "warning: reference to deprecated __sys_errlist[]; include <errno.h> and use sys_errlist")
18 __warn_references(sys_nerr
,
19 "warning: reference to compatibility sys_nerr; include <errno.h> for correct reference")
20 __warn_references(__sys_nerr
,
21 "warning: reference to deprecated __sys_nerr; include <errno.h> and use sys_nerr")
24 #if defined(__indr_reference)
25 __indr_reference(_sys_errlist
, sys_errlist
)
26 __indr_reference(_sys_errlist
, __sys_errlist
) /* Backwards compat with v.12 */
32 #define _sys_errlist sys_errlist
33 #define _sys_nerr sys_nerr
35 #include "__errlist.c"
40 #define _sys_errlist __sys_errlist
41 #define _sys_nerr __sys_nerr
43 #include "__errlist.c"