shithub: riscv

Download patch

ref: 2657773699da675d436705002230f2d25142f570
parent: 5aa8594281946edbf8122d452b71337002f38684
author: Jacob Moody <moody@posixcafe.org>
date: Wed Jul 26 00:09:57 EDT 2023

mk: dead code removal

--- a/sys/src/cmd/mk/main.c
+++ b/sys/src/cmd/mk/main.c
@@ -2,7 +2,6 @@
 
 #define		MKFILE		"mkfile"
 
-static char *version = "@(#)mk general release 4 (plan 9)";
 int debug;
 Rule *rules, *metarules;
 int nflag = 0;
--- a/sys/src/cmd/mk/shprint.c
+++ b/sys/src/cmd/mk/shprint.c
@@ -1,8 +1,6 @@
 #include	"mk.h"
 
 static char *vexpand(char*, Envy*, Bufblock*);
-static char *shquote(char*, Rune, Bufblock*);
-static char *shbquote(char*, Bufblock*);
 
 void
 shprint(char *s, Envy *env, Bufblock *buf)