diff options
Diffstat (limited to 'libc/include/sys/syscall.h')
-rw-r--r-- | libc/include/sys/syscall.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/libc/include/sys/syscall.h b/libc/include/sys/syscall.h index 34a29df3f..21eaf336b 100644 --- a/libc/include/sys/syscall.h +++ b/libc/include/sys/syscall.h @@ -25,20 +25,13 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + #ifndef _SYS_SYSCALL_H_ #define _SYS_SYSCALL_H_ -#include <errno.h> -#include <sys/cdefs.h> -#include <sys/types.h> -#include <asm/unistd.h> - -#include <sys/glibc-syscalls.h> /* glibc-compatible SYS_* aliases for our __NR_* names. */ - -__BEGIN_DECLS - -long syscall(long number, ...); +#include <asm/unistd.h> /* Linux kernel __NR_* names. */ +#include <sys/glibc-syscalls.h> /* glibc-compatible SYS_* aliases. */ -__END_DECLS +/* The syscall function itself is declared in <unistd.h>, not here. */ #endif /* _SYS_SYSCALL_H_ */ |