diff options
author | Roman Volosatovs <[email protected]> | 2022-05-19 15:55:30 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-08-05 21:05:46 +0200 |
commit | a107b4d459ecfc91e34232ae91ad8caad2d5ce8a (patch) | |
tree | 61f6cc59211502355d9429e57bfd8ea1f8ace4d0 /src/syscall/syscall_libc_wasi.go | |
parent | 5c176f80d57e8854c9c96464a3e486303007d972 (diff) | |
download | tinygo-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.go | 2 |
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 |