scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 2d9fd604cb38729a8175244ba4e42b9bf69179c5
parent d9753a5280ec87370fd2ea52b3be5efba3297413
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Wed, 18 Mar 2026 17:38:04 +0100

strip: Rename strip() to doit()

Libmach already has a strip() function, producing a compilation error
due to the different prototype.

Diffstat:
Msrc/cmd/scc-strip.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/cmd/scc-strip.c b/src/cmd/scc-strip.c @@ -27,7 +27,7 @@ error(char *fmt, ...) } static void -strip(char *fname) +doit(char *fname) { int type; size_t r; @@ -117,10 +117,10 @@ main(int argc, char *argv[]) } ARGEND if (argc == 0) { - strip("a.out"); + doit("a.out"); } else { for (; *argv; ++argv) - strip(*argv); + doit(*argv); } return status;