diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-10-05 05:10:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-10-05 05:10:27 +0000 |
commit | 8187b0ccda766ff2000e954f01ba918faefc05d2 (patch) | |
tree | 7dfa36055a9689a672c14185d37a7396e5746b4b /include | |
parent | 6ba17041381afeb8c1274cce4c6ffebda0253328 (diff) |
Major update to string handling. strcmp and friends were horribly
broken. They now test out as working properly.
-Erik
Diffstat (limited to 'include')
-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 |