shithub: mc

Download patch

ref: c5d0edf688113905c4250712f4a779abd79fbb52
parent: 53ec472196f9174d44b44a687c77eae53fe5842a
author: Ori Bernstein <ori@eigenstate.org'>
date: Mon Jan 4 10:40:47 EST 2016

Remove uninitialized non-externs on plan9

--- a/lib/std/syswrap+plan9.myr
+++ b/lib/std/syswrap+plan9.myr
@@ -38,7 +38,6 @@
 	const open	: (path : byte[:], opts : fdopt -> result(fd, errno))
 	const openmode	: (path : byte[:], opts : fdopt, mode : int64 -> result(fd, errno))
 	const close	: (fd : fd -> errno)
-	const creat	: (path : byte[:], mode : int64 -> result(fd, errno))
 	const read	: (fd : fd, buf : byte[:] -> result(size, errno))
 	const write	: (fd : fd, buf : byte[:] -> result(size, errno))
 	const seek	: (fd : fd, delta : off, whence : whence -> result(off, errno))
@@ -70,7 +69,6 @@
 	pkglocal const freemem	: (p : byte#, sz : size -> void)
 	pkglocal const curtime	: (-> time)
 	pkglocal const p9errstr	: (buf : byte[:] -> byte[:])
-	pkglocal const waitpid	: (pid:pid, loc:int32#, opt : int64	-> pid)
 
 	/* statbuf offsets */
 	pkglocal const Sizeoff	: int64 = 0