wm: teppich

Download patch

ref: 3ffef0f58e132850684dad253b11ba73cfa959c1
parent: 377da78d28bcd0dcc90d963719eb6297ceeed13f
author: mkf <mkf@cloud9p.org>
date: Wed Nov 22 05:54:52 EST 2023

add bunch of new errs to err.h, append free() prototype into mem.h

--- a/include/err.h
+++ b/include/err.h
@@ -8,7 +8,11 @@
 	NAME_TOO_LONG,
 	NO_FILE,
 	FS_NOT_READY,
-	DIR_NOT_EMPTY,
+	DIR_NOT_EMPTY
+	,
 	NO_MEM,
+	
 	LL_ERR,
+	
+	NO_SUCH_CMD,
 }err;
--- a/include/mem.h
+++ b/include/mem.h
@@ -11,3 +11,4 @@
 
 int _malloc(uint16 size);
 void* malloc(uint16 size);
+int free(void* mem);