make: Make cleanup void - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 23c081533234d616d3cc57e5794ee1b9f2a87b63
(DIR) parent 7d92f9f22004c00fca2fe52a183b8d8e1a1bca6f
(HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Tue, 5 Aug 2025 13:53:18 +0200
make: Make cleanup void
It does not return any value ever, so it does not make sense to
have it like int, and it created problems porting it to plan9.
Diffstat:
M src/cmd/scc-make/rules.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/scc-make/rules.c b/src/cmd/scc-make/rules.c
@@ -59,7 +59,7 @@ lookup(char *name)
return tp;
}
-static int
+static void
cleanup(Target *tp)
{
int precious;