shithub: plan9front

Download patch

ref: 928b38c7b9d538f933eabdb563a408c3a6a95504
parent: 07608c768faadfe960872d492d960be3112b7999
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Oct 11 20:51:02 EDT 2021

libthread: remove unused skip() function

--- a/sys/src/libthread/main.c	Mon Oct 11 20:49:12 2021
+++ b/sys/src/libthread/main.c	Mon Oct 11 20:51:02 2021
@@ -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)
 {