summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-23 21:20:45 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:42 +0200
commit4393898fd383d2afb173961ca62a96e1343d2a9f (patch)
tree4c2dac6537bee279c61b493c709b47854d996b49
parent69a9120477185ee14429684724d665f69798b7d9 (diff)
e1/bits/unistd.h: remove unneeded bits
If an arch does not support some option, that has to be coded in Config.in Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--libc/sysdeps/linux/e1/bits/unistd.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/e1/bits/unistd.h b/libc/sysdeps/linux/e1/bits/unistd.h
index f492b8b82..9288a3a8f 100644
--- a/libc/sysdeps/linux/e1/bits/unistd.h
+++ b/libc/sysdeps/linux/e1/bits/unistd.h
@@ -378,13 +378,6 @@ type name(atype a, btype b, ctype c,dtype d, etype e, ftype f, ...)
return (type)(par1); \
}
-#include <sys/types.h>
-/* Taken from <bits/errno.h> */
-#ifndef _LIBC
-/* We don't support pthreads for the moment*/
-#define __set_errno(val) ((errno) = (val))
-#endif
-
#if 0
#define _syscall3(type, name,atype, a , btype, b, ctype, c) \
type name(atype a, btype b, ctype c,) \