diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-02-20 09:18:50 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-02-20 09:18:50 +0000 |
commit | e356ea321c8098cf1a83a67e27d64c44de08a298 (patch) | |
tree | 8be9273fb8f0e6acab47a9e09552cfbea5400b31 /libc/sysdeps/linux | |
parent | 07ebf927b17572d92e785533d6e8ac1668cc57c6 (diff) |
Merge in the pthread library. This is the linuxthreads library taken from
glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen
(me). Stefan has hacked things up such that linuxthreads runs on MMU-less
systems (tested only on arm-nommu). Erik cleaned things up and made it work
properly as a shared library.
-Erik
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/Makefile | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/errno.c | 9 |
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; -} - |