diff --git a/newlib/ChangeLog b/newlib/ChangeLog index d4e94e495..a0aa2a83e 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +Sat Aug 25 22:22:25 2001 Christopher Faylor + + * libc/include/sys/errno.h: Add a cautionary comment. + 2001-08-21 Jeff Johnston * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional diff --git a/newlib/libc/include/sys/errno.h b/newlib/libc/include/sys/errno.h index 672d99eac..26b56925e 100644 --- a/newlib/libc/include/sys/errno.h +++ b/newlib/libc/include/sys/errno.h @@ -15,6 +15,8 @@ extern "C" { extern int *__errno _PARAMS ((void)); #endif +/* Please don't use these variables directly. + Use strerror instead. */ extern __IMPORT _CONST char * _CONST _sys_errlist[]; extern __IMPORT int _sys_nerr; #ifdef __CYGWIN__