Skip to content

Commit 7930289

Browse files
committed
Rename file_symlink's and file_rename's arguments for consistency.
1 parent 4d3425a commit 7930289

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • libc-bottom-half/headers/public

libc-bottom-half/headers/public/wasi.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ __wasi_errno_t __wasi_file_readlink(
691691
) __WASI_SYSCALL_NAME(file_readlink) __attribute__((__warn_unused_result__));
692692

693693
__wasi_errno_t __wasi_file_rename(
694-
__wasi_fd_t old_fd0,
694+
__wasi_fd_t old_fd,
695695
const char *old_path,
696696
size_t old_path_len,
697697
__wasi_fd_t new_fd,
@@ -726,11 +726,11 @@ __wasi_errno_t __wasi_file_stat_put(
726726
) __WASI_SYSCALL_NAME(file_stat_put) __attribute__((__warn_unused_result__));
727727

728728
__wasi_errno_t __wasi_file_symlink(
729-
const char *path1,
730-
size_t path1_len,
729+
const char *old_path,
730+
size_t old_path_len,
731731
__wasi_fd_t fd,
732-
const char *path2,
733-
size_t path2_len
732+
const char *new_path,
733+
size_t new_path_len
734734
) __WASI_SYSCALL_NAME(file_symlink) __attribute__((__warn_unused_result__));
735735

736736
__wasi_errno_t __wasi_file_unlink(

0 commit comments

Comments
 (0)