aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/linux/sys/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/sys/errno.h')
-rw-r--r--newlib/libc/sys/linux/sys/errno.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/newlib/libc/sys/linux/sys/errno.h b/newlib/libc/sys/linux/sys/errno.h
deleted file mode 100644
index a1452bc9a..000000000
--- a/newlib/libc/sys/linux/sys/errno.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* libc/sys/linux/sys/errno.h - Errno variable and codes */
-
-/* Written 2000 by Werner Almesberger */
-
-
-#ifndef _SYS_ERRNO_H
-#define _SYS_ERRNO_H
-
-/* --- from newlin's sys/errno.h --- */
-
-#include <sys/reent.h>
-
-#ifndef _REENT_ONLY
-#define errno (*__errno())
-extern int *__errno _PARAMS ((void));
-#endif
-
-extern __IMPORT _CONST char * _CONST _sys_errlist[];
-extern __IMPORT int _sys_nerr;
-
-#define __errno_r(ptr) ((ptr)->_errno)
-
-/* --- end of slight redundancy (the use of struct _reent->_errno is
- hard-coded in perror.c so why pretend anything else could work too ? */
-
-#include <asm/errno.h>
-
-#endif