Drop redefs of syscalls

This commit is contained in:
Kevin Lange 2012-02-04 22:57:03 -06:00
parent 6590b285b5
commit 06a9125c21
6 changed files with 0 additions and 13 deletions

View File

@ -12,8 +12,6 @@
#include <unistd.h> #include <unistd.h>
#include <time.h> #include <time.h>
DEFN_SYSCALL1(wait, 17, unsigned int);
DEFN_SYSCALL2(getcwd, 29, char *, size_t); DEFN_SYSCALL2(getcwd, 29, char *, size_t);
DEFN_SYSCALL1(chdir, 28, char *); DEFN_SYSCALL1(chdir, 28, char *);

View File

@ -14,7 +14,6 @@
#include "lib/sha2.h" #include "lib/sha2.h"
DEFN_SYSCALL1(wait, 17, unsigned int);
DEFN_SYSCALL1(setuid, 24, unsigned int); DEFN_SYSCALL1(setuid, 24, unsigned int);
DEFN_SYSCALL1(kernel_string_XXX, 25, char *); DEFN_SYSCALL1(kernel_string_XXX, 25, char *);
DEFN_SYSCALL0(gethostname, 32); DEFN_SYSCALL0(gethostname, 32);

View File

@ -11,8 +11,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
DEFN_SYSCALL1(wait, 17, unsigned int);
int main(int argc, char ** argv) { int main(int argc, char ** argv) {
int nthreads = 2, base_pid = getpid(), npid = -1; int nthreads = 2, base_pid = getpid(), npid = -1;

View File

@ -9,9 +9,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
DEFN_SYSCALL1(wait, 17, unsigned int);
DEFN_SYSCALL0(mkpipe, 21);
int main(int argc, char ** argv) { int main(int argc, char ** argv) {
int fd = syscall_mkpipe(); int fd = syscall_mkpipe();
printf("%d <- pipe\n", fd); printf("%d <- pipe\n", fd);

View File

@ -432,9 +432,6 @@ DEFN_SYSCALL0(getgraphicswidth, 18);
DEFN_SYSCALL0(getgraphicsheight, 19); DEFN_SYSCALL0(getgraphicsheight, 19);
DEFN_SYSCALL0(getgraphicsdepth, 20); DEFN_SYSCALL0(getgraphicsdepth, 20);
DEFN_SYSCALL0(mkpipe, 21);
DEFN_SYSCALL2(dup2, 22, int, int);
DEFN_SYSCALL0(mousedevice, 33); DEFN_SYSCALL0(mousedevice, 33);
uint16_t graphics_width = 0; uint16_t graphics_width = 0;

View File

@ -5,8 +5,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
DEFN_SYSCALL1(wait, 17, unsigned int);
int main(int argc, char ** argv) { int main(int argc, char ** argv) {
int quiet = 0; int quiet = 0;
if (argc > 1) { if (argc > 1) {