From 8187b0ccda766ff2000e954f01ba918faefc05d2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 5 Oct 2000 05:10:27 +0000 Subject: Major update to string handling. strcmp and friends were horribly broken. They now test out as working properly. -Erik --- include/errno.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'include/errno.h') 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 #include -#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 -- cgit v1.2.3