shithub: 9ferno

Download patch

ref: 5c92b79792930589ac65a9477019719813b0931f
parent: 29611443bf92342bdbaa36d64ac0b89f7366e587
author: 9ferno <gophone2015@gmail.com>
date: Fri Aug 27 14:04:55 EDT 2021

let the os provided function signature take over

defined in include/kern.h

--- a/include/interp.h	Fri Aug 27 13:16:16 2021
+++ b/include/interp.h	Fri Aug 27 14:04:55 2021
@@ -507,7 +507,6 @@
 extern	void		rungc(Prog*);
 extern	void		runtime(Module*, Link*, char*, int, void(*)(void*), Type*);
 extern	void		safemem(void*, Type*, void (*)(void*));
-extern	int		segflush(void *, ulong);
 extern	void		isend(void);
 extern	void	setdbreg(uchar*);
 extern	uchar*	setdbloc(uchar*);