aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/errno/errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/errno/errno.c')
-rw-r--r--newlib/libc/errno/errno.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/newlib/libc/errno/errno.c b/newlib/libc/errno/errno.c
deleted file mode 100644
index fd1743d..0000000
--- a/newlib/libc/errno/errno.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* The errno variable is stored in the reentrancy structure. This
- function returns its address for use by the macro errno defined in
- errno.h. */
-
-#include <errno.h>
-#include <reent.h>
-
-#ifndef _REENT_ONLY
-
-int *
-__errno ()
-{
- return &_REENT->_errno;
-}
-
-#endif