shithub: riscv

Download patch

ref: 928b38c7b9d538f933eabdb563a408c3a6a95504
parent: 07608c768faadfe960872d492d960be3112b7999
author: cinap_lenrek <[email protected]>
date: Mon Oct 11 20:51:02 EDT 2021

libthread: remove unused skip() function

--- a/sys/src/libthread/main.c
+++ b/sys/src/libthread/main.c
@@ -58,16 +58,6 @@
 	threadexits("threadmain");
 }
 
-static char*
-skip(char *p)
-{
-	while(*p == ' ')
-		p++;
-	while(*p != ' ' && *p != 0)
-		p++;
-	return p;
-}
-
 static void
 efork(Execargs *e)
 {