Skip to content

Commit 9d8fd89

Browse files
committed
rename llseek to _llseek
1 parent a50e08c commit 9d8fd89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

so3/fs/vfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ SYSCALL_DEFINE3(lseek, int, fd, off_t, off, int, whence)
10191019
/**
10201020
* @brief Implementation of llseek syscall for ARM32 which use it instead of lseek.
10211021
*/
1022-
SYSCALL_DEFINE5(llseek, int, fd, unsigned long, offset_high, unsigned long, offset_low, off_t *, result, unsigned, whence)
1022+
SYSCALL_DEFINE5(_llseek, int, fd, unsigned long, offset_high, unsigned long, offset_low, off_t *, result, unsigned, whence)
10231023
{
10241024
off_t offset = ((off_t) offset_high << 32) | offset_low;
10251025
off_t ret;

so3/include/vfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ SYSCALL_DECLARE(mmap, addr_t start, size_t length, int prot, int flags, int fd,
180180
SYSCALL_DECLARE(mmap2, addr_t start, size_t length, int prot, int flags, int fd, off_t pgoffset);
181181
SYSCALL_DECLARE(ioctl, int fd, unsigned long cmd, unsigned long args);
182182
SYSCALL_DECLARE(lseek, int fd, off_t off, int whence);
183-
SYSCALL_DECLARE(llseek, int fd, unsigned long offset_high, unsigned long offset_low, off_t *result, unsigned whence);
183+
SYSCALL_DECLARE(_llseek, int fd, unsigned long offset_high, unsigned long offset_low, off_t *result, unsigned whence);
184184
SYSCALL_DECLARE(writev, unsigned long fd, const struct iovec *vec, unsigned long vlen);
185185
SYSCALL_DECLARE(readv, unsigned long fd, const struct iovec *vec, unsigned long vlen);
186186

0 commit comments

Comments
 (0)