summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/Makefile2
-rw-r--r--libc/sysdeps/linux/common/errno.c9
2 files changed, 1 insertions, 10 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index e4820e3f8..8b23a5fad 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -25,7 +25,7 @@ TOPDIR=../../../../
include $(TOPDIR)Rules.mak
CSRC= waitpid.c kernel_version.c statfix.c getdnnm.c gethstnm.c \
- mkfifo.c setegid.c wait.c errno.c getpagesize.c seteuid.c \
+ mkfifo.c setegid.c wait.c getpagesize.c seteuid.c \
wait3.c setpgrp.c getdtablesize.c create_module.c ptrace.c \
cmsg_nxthdr.c open64.c statfix64.c statfs64.c longjmp.c
ifneq ($(strip $(EXCLUDE_BRK)),true)
diff --git a/libc/sysdeps/linux/common/errno.c b/libc/sysdeps/linux/common/errno.c
deleted file mode 100644
index 0d500dc8f..000000000
--- a/libc/sysdeps/linux/common/errno.c
+++ /dev/null
@@ -1,9 +0,0 @@
-//#include <errno.h>
-
-int errno = 0;
-
-int * __attribute__ ((__weak__)) __errno_location ( void )
-{
- return &errno;
-}
-