summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-07-30 19:21:40 -0400
committerJune McEnroe <june@causal.agency>2018-07-30 19:21:40 -0400
commit1ce5384b7f7fc5a1de9d61c2c5b757ecd535db81 (patch)
tree3d283ce3b329ec0bc9c7e9d0e7bab47c883c5a6b
parentAdd gfx README and LICENSE (diff)
downloadsrc-1ce5384b7f7fc5a1de9d61c2c5b757ecd535db81.tar.gz
src-1ce5384b7f7fc5a1de9d61c2c5b757ecd535db81.zip
Rename linux function in scheme
The token 'linux' is #defined. Dumb.
-rw-r--r--bin/scheme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/scheme.c b/bin/scheme.c
index 402a12c3..546d68fa 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;
58ef8ea0be0da20e9d92c3923657bc816da&follow=1'>Document configuration and data file searchJune McEnroe 2020-08-24Use dataOpen for save fileJune McEnroe 2020-08-24Use configOpen to load localCAJune McEnroe 2020-08-24Use configPath to load client cert/privJune McEnroe 2020-08-24Use configOpen in getopt_configJune McEnroe 2020-08-24Import xdg.c from catgirlJune McEnroe 2020-08-23Replace “RAND_bytes” by “getentropy”Issam E. Maghni This removes the dependency on libcrypto. Signed-off-by: Issam E. Maghni <issam.e.maghni@mailbox.org> 2020-08-16contrib/palaver: Add no message preview flagsJune McEnroe 2020-08-13contrib/palaver: Don't set channel for PMsJune McEnroe 2020-08-13Fix unintended interception of NICK after registrationJune McEnroe Another bug caused by trying to support broken clients. I'm annoyed. 2020-08-12Add Additional Components section to READMEJune McEnroe 2020-08-12Document -L / palaver optionJune McEnroe 2020-08-11contrib/palaver: Document service configurationJune McEnroe 2020-08-11contrib/palaver: Add install target and rc scriptJune McEnroe 2020-08-11contrib/palaver: Implement command and notificationsJune McEnroe