diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2002-08-26 18:06:53 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2002-08-26 18:06:53 +0000 |
commit | 22fa952fdb5e9d2c5b1ee0d6c3fb75974ca15666 (patch) | |
tree | 1bf1c01e4539bdb92f8cd7daebd8f4e4411466fb /include | |
parent | e86450a0065d044fd334bdde7d39b29ccefd65c7 (diff) | |
download | uClibc-alpine-22fa952fdb5e9d2c5b1ee0d6c3fb75974ca15666.tar.bz2 uClibc-alpine-22fa952fdb5e9d2c5b1ee0d6c3fb75974ca15666.tar.xz |
sparc, alpha, and mips have different errno values than the other
supported platforms. Adjust _susv3_strerror_r function to deal with
this. Also fix an error in strerror() wrt invalid errnos.
NOTE: sys_errlist and sys_nerr are no longer supported!!!
Diffstat (limited to 'include')
-rw-r--r-- | include/stdio.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/stdio.h b/include/stdio.h index 3e27707ae..01b62c1eb 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -544,18 +544,6 @@ extern int ferror_unlocked (FILE *__stream) __THROW; /* Print a message describing the meaning of the value of errno. */ extern void perror (__const char *__s) __THROW; -/* These variables normally should not be used directly. The `strerror' - function provides all the needed functionality. */ -#ifdef __USE_BSD -extern int sys_nerr; -extern __const char *__const sys_errlist[]; -#endif -#if 0 -/* #ifdef __USE_GNU */ -extern int _sys_nerr; -extern __const char *__const _sys_errlist[]; -#endif - #ifdef __USE_POSIX /* Return the system file descriptor for STREAM. */ |