mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 18:47:47 +00:00
syscall: ensure correct C prototype WASI function signature
Signed-off-by: Roman Volosatovs <roman@profian.com>
This commit is contained in:
committed by
Ron Evans
parent
5c176f80d5
commit
a107b4d459
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user