1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix <sys/syscall.h> inclusion style.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-02-04 17:19:45 +01:00
parent 8322d5f82c
commit 1bc2650413
17 changed files with 17 additions and 0 deletions

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <fcntl.h>
#include <stdarg.h>

View file

@ -24,6 +24,7 @@
#include <sys/types.h>
#include <sys/syscall.h>
#include <signal.h>
DEFN_SYSCALL2(int, sys_kill, SYSCALL_KILL, pid_t, int);

View file

@ -24,6 +24,7 @@
#include <sys/types.h>
#include <sys/syscall.h>
#include <signal.h>
DEFN_SYSCALL1(int, sys_raise, SYSCALL_RAISE, int);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL2(int, sys_dup2, SYSCALL_DUP2, int, int);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL3(int, sys_execve, SYSCALL_EXECVE, const char*, char* const*, char* const*);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <fcntl.h>
#include <unistd.h>

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL1(int, sys_fchdir, SYSCALL_FCHDIR, int);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL1(int, sys_fchroot, SYSCALL_FCHROOT, int);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL0(size_t, sys_getpagesize, SYSCALL_GETPAGESIZE);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL0(pid_t, sys_getpid, SYSCALL_GETPID);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL0(pid_t, sys_getppid, SYSCALL_GETPPID);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL1(int, sys_isatty, SYSCALL_ISATTY, int);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL3(off_t, sys_seek, SYSCALL_LSEEK, int, off_t, int);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL2(int, sys_memstat, SYSCALL_MEMSTAT, size_t*, size_t*);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL2(pid_t, sys_tfork, SYSCALL_TFORK, int, struct tfork*);

View file

@ -24,6 +24,7 @@
#include <sys/types.h>
#include <sys/syscall.h>
#include <unistd.h>
DEFN_SYSCALL3(int, sys_truncateat, SYSCALL_TRUNCATEAT, int, const char*, off_t);

View file

@ -23,6 +23,7 @@
*******************************************************************************/
#include <sys/syscall.h>
#include <fcntl.h>
#include <unistd.h>