aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/syscall/syscall_libc_wasi.go
diff options
context:
space:
mode:
authorRoman Volosatovs <[email protected]>2022-05-19 15:55:30 +0200
committerRon Evans <[email protected]>2022-08-05 21:05:46 +0200
commita107b4d459ecfc91e34232ae91ad8caad2d5ce8a (patch)
tree61f6cc59211502355d9429e57bfd8ea1f8ace4d0 /src/syscall/syscall_libc_wasi.go
parent5c176f80d57e8854c9c96464a3e486303007d972 (diff)
downloadtinygo-a107b4d459ecfc91e34232ae91ad8caad2d5ce8a.tar.gz
tinygo-a107b4d459ecfc91e34232ae91ad8caad2d5ce8a.zip
syscall: ensure correct C prototype WASI function signature
Signed-off-by: Roman Volosatovs <[email protected]>
Diffstat (limited to 'src/syscall/syscall_libc_wasi.go')
-rw-r--r--src/syscall/syscall_libc_wasi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/syscall_libc_wasi.go b/src/syscall/syscall_libc_wasi.go
index 65f11b709..53d6afbd6 100644
--- a/src/syscall/syscall_libc_wasi.go
+++ b/src/syscall/syscall_libc_wasi.go
@@ -306,7 +306,7 @@ func Getpagesize() int {
//export stat
func libc_stat(pathname *byte, ptr unsafe.Pointer) int32
-// int fstat(fd int, struct stat * buf);
+// int fstat(int fd, struct stat * buf);
//
//export fstat
func libc_fstat(fd int32, ptr unsafe.Pointer) int32