diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-02 17:28:40 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-02 17:28:40 +0000 |
commit | 02fc7acad50f49ccc90f23a14fe179eb38c51007 (patch) | |
tree | 6a1533f6aac4aca97e0d972288080235ad39c4bb /libc/sysdeps/linux/i386/bits/syscalls.h | |
parent | 5ba22f8c12891bb04cd06c178de27b7d13451994 (diff) |
Remove __set_errno proposed by jocke
Diffstat (limited to 'libc/sysdeps/linux/i386/bits/syscalls.h')
-rw-r--r-- | libc/sysdeps/linux/i386/bits/syscalls.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/i386/bits/syscalls.h b/libc/sysdeps/linux/i386/bits/syscalls.h index e9f9e7885..2f88961c8 100644 --- a/libc/sysdeps/linux/i386/bits/syscalls.h +++ b/libc/sysdeps/linux/i386/bits/syscalls.h @@ -4,15 +4,13 @@ # error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead." #endif +#include <errno.h> + /* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel * header files. It also defines the traditional `SYS_<name>' macros for older * programs. */ #include <bits/sysnum.h> -#ifndef __set_errno -# define __set_errno(val) (*__errno_location ()) = (val) -#endif - /* Some of the sneaky macros in the code were taken from glibc-2.2.5/sysdeps/unix/sysv/linux/i386/sysdep.h |