Bläddra i källkod

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>
Peter S. Mazinger 13 år sedan
förälder
incheckning
4393898fd3
1 ändrade filer med 0 tillägg och 7 borttagningar
  1. 0 7
      libc/sysdeps/linux/e1/bits/unistd.h

+ 0 - 7
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,)                      \