diff options
Diffstat (limited to 'userland/libc/unistd/lseek.c')
-rw-r--r-- | userland/libc/unistd/lseek.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/userland/libc/unistd/lseek.c b/userland/libc/unistd/lseek.c index 2dcd661..b9ebfae 100644 --- a/userland/libc/unistd/lseek.c +++ b/userland/libc/unistd/lseek.c @@ -1,7 +1,7 @@ #include <errno.h> -#include <unistd.h> #include <syscall.h> +#include <unistd.h> -off_t lseek(int fildes, off_t offset, int whence) { +int lseek(int fildes, int offset, int whence) { RC_ERRNO(syscall(SYS_LSEEK, (u32)fildes, offset, whence, 0, 0)); } |