From 3252a0da1d00cfebd0088f8fc453e30ee4860d73 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 30 Jul 2018 19:21:40 -0400 Subject: Rename linux function in scheme The token 'linux' is #defined. Dumb. --- bin/scheme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/scheme.c b/bin/scheme.c index e50ea892..ba05f14e 100644 --- a/bin/scheme.c +++ b/bin/scheme.c @@ -125,7 +125,7 @@ static void hex(const struct Hsv *hsv, size_t len) { } } -static void linux(const struct Hsv *hsv, size_t len) { +static void console(const struct Hsv *hsv, size_t len) { if (len > 16) len = 16; for (size_t i = 0; i < len; ++i) { struct Rgb rgb = toRgb(hsv[i]); @@ -207,7 +207,7 @@ int main(int argc, char *argv[]) { break; case 'a': gen = ansi; break; case 'g': out = png; break; case 'h': out = hsv; - break; case 'l': out = linux; + break; case 'l': out = console; break; case 't': gen = terminal; break; case 'x': out = hex; break; default: return EX_USAGE; -- cgit 1.4.1 a> refs log tree commit diff
path: root/bin/cash/libedit/Makefile (unfollow)
Commit message (Collapse)Author
2019-01-12Restore cash builtin man page datesJune McEnroe
2019-01-12Use local libeditJune McEnroe
2019-01-12Replace libedit MakefileJune McEnroe
2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe
2019-01-11Add PSlit for prompt escapesJune McEnroe
2019-01-11Don't make depend automaticallyJune McEnroe