Introduction
Introduction Statistics Contact Development Disclaimer Help
make: Make cleanup void - scc - simple c99 compiler
git clone git://git.simple-cc.org/scc
Log
Files
Refs
Submodules
README
LICENSE
---
commit 23c081533234d616d3cc57e5794ee1b9f2a87b63
parent 7d92f9f22004c00fca2fe52a183b8d8e1a1bca6f
Author: Roberto E. Vargas Caballero <[email protected]>
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(-)
---
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;
You are viewing proxied material from simple-cc.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.