diff options
author | Ori Bernstein <ori@eigenstate.org> | 2018-06-27 20:42:18 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2018-06-27 20:42:18 -0700 |
commit | cef2d4ebd48ab554330e49f8961547e05df47127 (patch) | |
tree | e5ed561d984d227fee872503b05d904a2ce65e93 /lib/sys/sys+netbsd-x64.myr | |
parent | bd81ccd828e6cb78f26ebb4ca7e2b565dc8d8d5b (diff) | |
download | mc-cef2d4ebd48ab554330e49f8961547e05df47127.tar.gz |
Fix NetBSD build.r0.3.0
Diffstat (limited to 'lib/sys/sys+netbsd-x64.myr')
-rw-r--r-- | lib/sys/sys+netbsd-x64.myr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sys/sys+netbsd-x64.myr b/lib/sys/sys+netbsd-x64.myr index 87c590a..f380afe 100644 --- a/lib/sys/sys+netbsd-x64.myr +++ b/lib/sys/sys+netbsd-x64.myr @@ -853,7 +853,7 @@ pkg sys = const close : (fd:fd -> int64) const creat : (path:byte[:], mode:int64 -> fd) const unlink : (path:byte[:] -> int) - const rmdir : (path:byte[:] -> int) + const rmdir : (path:byte# -> int) const read : (fd:fd, buf:byte[:] -> size) const pread : (fd:fd, buf:byte[:], off : off -> size) const readv : (fd:fd, iov:iovec[:] -> size) @@ -908,6 +908,7 @@ pkg sys = new : void#, newsz : size# \ -> int) + extern const cstring : (str : byte[:] -> byte#) /* filled by start code */ extern var __cenvp : byte## ;; @@ -918,7 +919,6 @@ the same as casting, but more concise than (writing : int64) */ generic a = {x : @t; -> (x : uint64)} -extern const cstring : (str : byte[:] -> byte#) extern const alloca : (sz : size -> byte#) /* process management */ |