From 787c3b0fd09ea8456d2391e59e7589f0cf8f5555 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 11 Aug 2020 20:41:05 -0400 Subject: move auto-generated nonstd/syscall.h to static private _syscall.h --- src/unistd/_exit.c | 2 +- src/unistd/alarm.c | 2 +- src/unistd/chdir.c | 2 +- src/unistd/chown.c | 2 +- src/unistd/close.c | 2 +- src/unistd/execve.c | 2 +- src/unistd/fork.c | 2 +- src/unistd/getcwd.c | 2 +- src/unistd/getegid.c | 2 +- src/unistd/geteuid.c | 2 +- src/unistd/getgid.c | 2 +- src/unistd/getgroups.c | 2 +- src/unistd/getpgrp.c | 2 +- src/unistd/getpid.c | 2 +- src/unistd/getppid.c | 2 +- src/unistd/getuid.c | 2 +- src/unistd/link.c | 2 +- src/unistd/lseek.c | 2 +- src/unistd/pause.c | 2 +- src/unistd/pipe.c | 2 +- src/unistd/read.c | 2 +- src/unistd/rmdir.c | 2 +- src/unistd/setgid.c | 2 +- src/unistd/setpgid.c | 2 +- src/unistd/setsid.c | 2 +- src/unistd/setuid.c | 2 +- src/unistd/sleep.c | 2 +- src/unistd/unlink.c | 2 +- src/unistd/write.c | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) (limited to 'src/unistd') diff --git a/src/unistd/_exit.c b/src/unistd/_exit.c index 0a61e87c..53e7ddba 100644 --- a/src/unistd/_exit.c +++ b/src/unistd/_exit.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" void _exit(int status) { diff --git a/src/unistd/alarm.c b/src/unistd/alarm.c index ff96dbaa..00130347 100644 --- a/src/unistd/alarm.c +++ b/src/unistd/alarm.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" unsigned alarm(unsigned seconds) { diff --git a/src/unistd/chdir.c b/src/unistd/chdir.c index 828487d3..203be533 100644 --- a/src/unistd/chdir.c +++ b/src/unistd/chdir.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" int chdir(const char *path) { diff --git a/src/unistd/chown.c b/src/unistd/chown.c index 08c52364..2036fb28 100644 --- a/src/unistd/chown.c +++ b/src/unistd/chown.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" int chown(const char *path, uid_t owner, gid_t group) { diff --git a/src/unistd/close.c b/src/unistd/close.c index 3744aa86..4c917e27 100644 --- a/src/unistd/close.c +++ b/src/unistd/close.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" int close(int fildes) { diff --git a/src/unistd/execve.c b/src/unistd/execve.c index 8d7a1225..96539df2 100644 --- a/src/unistd/execve.c +++ b/src/unistd/execve.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" int execve(const char *path, char *const argv[], char *const envp[]) { diff --git a/src/unistd/fork.c b/src/unistd/fork.c index 4efcc0f4..0417a60b 100644 --- a/src/unistd/fork.c +++ b/src/unistd/fork.c @@ -2,7 +2,7 @@ #include "sys/types.h" #include #include "errno.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" pid_t fork(void) { diff --git a/src/unistd/getcwd.c b/src/unistd/getcwd.c index 904e2c7d..3ddfa53a 100644 --- a/src/unistd/getcwd.c +++ b/src/unistd/getcwd.c @@ -1,7 +1,7 @@ #include "sys/types.h" #include #include "nonstd/assert.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" char * getcwd(char *buf, size_t size) { diff --git a/src/unistd/getegid.c b/src/unistd/getegid.c index da8a372f..eecc5a06 100644 --- a/src/unistd/getegid.c +++ b/src/unistd/getegid.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" gid_t getegid(void) { diff --git a/src/unistd/geteuid.c b/src/unistd/geteuid.c index 2bc4c054..8c7aa204 100644 --- a/src/unistd/geteuid.c +++ b/src/unistd/geteuid.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" uid_t geteuid(void) { diff --git a/src/unistd/getgid.c b/src/unistd/getgid.c index 0d4a070d..f991f18d 100644 --- a/src/unistd/getgid.c +++ b/src/unistd/getgid.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" gid_t getgid(void) { diff --git a/src/unistd/getgroups.c b/src/unistd/getgroups.c index 8af2634b..62a3207e 100644 --- a/src/unistd/getgroups.c +++ b/src/unistd/getgroups.c @@ -2,7 +2,7 @@ #include "sys/types.h" #include #include "errno.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" #include "nonstd/assert.h" int getgroups(int gidsetsize, gid_t grouplist[]) diff --git a/src/unistd/getpgrp.c b/src/unistd/getpgrp.c index 897cd6be..8f06b9e8 100644 --- a/src/unistd/getpgrp.c +++ b/src/unistd/getpgrp.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" pid_t getpgrp(void) { diff --git a/src/unistd/getpid.c b/src/unistd/getpid.c index eb6be595..d1255f5d 100644 --- a/src/unistd/getpid.c +++ b/src/unistd/getpid.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" pid_t getpid(void) { diff --git a/src/unistd/getppid.c b/src/unistd/getppid.c index 2fc880a2..b39c36bc 100644 --- a/src/unistd/getppid.c +++ b/src/unistd/getppid.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" pid_t getppid(void) { diff --git a/src/unistd/getuid.c b/src/unistd/getuid.c index d85814d4..4373915a 100644 --- a/src/unistd/getuid.c +++ b/src/unistd/getuid.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" uid_t getuid(void) { diff --git a/src/unistd/link.c b/src/unistd/link.c index 96e1e7b4..1f0b0db9 100644 --- a/src/unistd/link.c +++ b/src/unistd/link.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" int link(const char *path1, const char *path2) { diff --git a/src/unistd/lseek.c b/src/unistd/lseek.c index dd194761..52665cd6 100644 --- a/src/unistd/lseek.c +++ b/src/unistd/lseek.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" off_t lseek(int fildes, off_t offset, int whence) { diff --git a/src/unistd/pause.c b/src/unistd/pause.c index 41e25101..99e079cd 100644 --- a/src/unistd/pause.c +++ b/src/unistd/pause.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" int pause(void) { diff --git a/src/unistd/pipe.c b/src/unistd/pipe.c index 5ab8b5e7..b682f872 100644 --- a/src/unistd/pipe.c +++ b/src/unistd/pipe.c @@ -2,7 +2,7 @@ #include "sys/types.h" #include #include "nonstd/assert.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" int pipe(int fildes[2]) { diff --git a/src/unistd/read.c b/src/unistd/read.c index c44e406d..dcaa5825 100644 --- a/src/unistd/read.c +++ b/src/unistd/read.c @@ -2,7 +2,7 @@ #include "sys/types.h" #include #include "errno.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" ssize_t read(int fildes, void *buf, size_t nbyte) { diff --git a/src/unistd/rmdir.c b/src/unistd/rmdir.c index 6c6df741..6e97c005 100644 --- a/src/unistd/rmdir.c +++ b/src/unistd/rmdir.c @@ -2,7 +2,7 @@ #include "sys/types.h" #include #include "errno.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" int rmdir(const char *path) { diff --git a/src/unistd/setgid.c b/src/unistd/setgid.c index 79f9695b..478387a4 100644 --- a/src/unistd/setgid.c +++ b/src/unistd/setgid.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" int setgid(gid_t gid) { diff --git a/src/unistd/setpgid.c b/src/unistd/setpgid.c index 28769713..288dc4eb 100644 --- a/src/unistd/setpgid.c +++ b/src/unistd/setpgid.c @@ -2,7 +2,7 @@ #include "sys/types.h" #include #include "errno.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" int setpgid(pid_t pid, pid_t pgid) { diff --git a/src/unistd/setsid.c b/src/unistd/setsid.c index 8c1aa0c7..6c24594d 100644 --- a/src/unistd/setsid.c +++ b/src/unistd/setsid.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" pid_t setsid(void) { diff --git a/src/unistd/setuid.c b/src/unistd/setuid.c index 4c6053df..fcb39bcb 100644 --- a/src/unistd/setuid.c +++ b/src/unistd/setuid.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" int setuid(uid_t uid) { diff --git a/src/unistd/sleep.c b/src/unistd/sleep.c index 1e884f8e..29ffee7b 100644 --- a/src/unistd/sleep.c +++ b/src/unistd/sleep.c @@ -1,7 +1,7 @@ #include "stddef.h" #include "sys/types.h" #include -#include "nonstd/syscall.h" +#include "../_syscall.h" unsigned sleep(unsigned seconds) { diff --git a/src/unistd/unlink.c b/src/unistd/unlink.c index 09fc20b0..4e7b040b 100644 --- a/src/unistd/unlink.c +++ b/src/unistd/unlink.c @@ -2,7 +2,7 @@ #include "sys/types.h" #include #include "nonstd/assert.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" int unlink(const char *path) { diff --git a/src/unistd/write.c b/src/unistd/write.c index 352ef43f..584eda9f 100644 --- a/src/unistd/write.c +++ b/src/unistd/write.c @@ -2,7 +2,7 @@ #include "sys/types.h" #include #include "nonstd/assert.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" ssize_t write(int fildes, const void *buf, size_t nbyte) { -- cgit v1.2.1