[git commit] e1/bits/unistd.h: remove unneeded bits

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:42 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=4393898fd383d2afb173961ca62a96e1343d2a9f
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

If an arch does not support some option, that has to be coded in Config.in

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/sysdeps/linux/e1/bits/unistd.h |    7 -------
 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 f492b8b..9288a3a 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,)                      \


More information about the uClibc-cvs mailing list