summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips/bits/syscalls.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-15 05:30:47 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-15 05:30:47 +0000
commit402cb6dedfb3d271c7aab269ad9b79b04c21b62d (patch)
tree003ce7df109ff21b4561376c4c4bc690b8b7ba3d /libc/sysdeps/linux/mips/bits/syscalls.h
parent46850f098985cb7ca49b7617dd49257634da8561 (diff)
downloaduClibc-alpine-402cb6dedfb3d271c7aab269ad9b79b04c21b62d.tar.bz2
uClibc-alpine-402cb6dedfb3d271c7aab269ad9b79b04c21b62d.tar.xz
Clean up '_res' such that it will now work for, NPTL, linuxthreads and
even no threads. Fix 'pthread_atfork' function and clean up duplicate of '__set_errno' that is not needed.
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/syscalls.h')
-rw-r--r--libc/sysdeps/linux/mips/bits/syscalls.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/mips/bits/syscalls.h b/libc/sysdeps/linux/mips/bits/syscalls.h
index 6c6c7da34..f19bd25e7 100644
--- a/libc/sysdeps/linux/mips/bits/syscalls.h
+++ b/libc/sysdeps/linux/mips/bits/syscalls.h
@@ -9,13 +9,6 @@
* programs. */
#include <bits/sysnum.h>
-#ifndef __set_errno
-# ifdef __UCLIBC_HAS_THREADS__
-# define __set_errno(val) (*__errno_location ()) = (val)
-# else
-# define __set_errno(val) (errno = (val))
-# endif
-#endif
#ifndef SYS_ify
# define SYS_ify(syscall_name) (__NR_##syscall_name)
#endif