summaryrefslogtreecommitdiff
path: root/userland/libc/include/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/include/syscall.h')
-rw-r--r--userland/libc/include/syscall.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h
index 1e8c86c..245b482 100644
--- a/userland/libc/include/syscall.h
+++ b/userland/libc/include/syscall.h
@@ -28,7 +28,7 @@
#define SYS_SOCKET 20
#define SYS_SHM_OPEN 21
#define SYS_FTRUNCATE 22
-#define SYS_STAT 23
+#define SYS_FSTAT 23
#define SYS_MSLEEP 24
#define SYS_UPTIME 25
#define SYS_MKDIR 26
@@ -167,9 +167,4 @@ typedef struct SYS_FTRUNCATE_PARAMS {
int fildes;
size_t length;
} __attribute__((packed)) SYS_FTRUNCATE_PARAMS;
-
-typedef struct SYS_STAT_PARAMS {
- const char *pathname;
- struct stat *statbuf;
-} __attribute__((packed)) SYS_STAT_PARAMS;
#endif