summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-08-26 02:28:33 +0000
committerChristopher Faylor <me@cgf.cx>2001-08-26 02:28:33 +0000
commit8e26d5b5a766b0e396ed573b67a4f2b50067895c (patch)
treea3a49cbd8c079132af6ae190adcfec44b22b6755 /newlib/libc/include/sys
parente32b4e81cbab99dc756559f2ba05e61a3f210cde (diff)
downloadcygnal-8e26d5b5a766b0e396ed573b67a4f2b50067895c.tar.gz
cygnal-8e26d5b5a766b0e396ed573b67a4f2b50067895c.tar.bz2
cygnal-8e26d5b5a766b0e396ed573b67a4f2b50067895c.zip
* libc/include/sys/errno.h: Add a cautionary comment.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r--newlib/libc/include/sys/errno.h2
1 files changed, 2 insertions, 0 deletions
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__