diff options
Diffstat (limited to 'include/errno.h')
-rw-r--r-- | include/errno.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/errno.h b/include/errno.h index 498db0fbf..862d0f2cb 100644 --- a/include/errno.h +++ b/include/errno.h @@ -4,23 +4,14 @@ #include <features.h> #include <linux/errno.h> -#ifdef __USE_BSD extern int sys_nerr; extern char *sys_errlist[]; -#endif -#ifdef __USE_GNU -extern int _sys_nerr; -extern char *_sys_errlist[]; -#endif +#define _sys_nerr sys_nerr +#define _sys_errlist sys_errlist extern int errno; - -__BEGIN_DECLS - extern void perror __P ((__const char* __s)); extern char* strerror __P ((int __errno)); -__END_DECLS - #endif |