From d4179a12792269f2af090d27a4307c6a570ef8a2 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 2 Jul 2019 22:37:15 +0200 Subject: Rename "struct nanolight" to "struct lightctx" --- src/command.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index e60a75a..f1387b8 100644 --- a/src/command.c +++ b/src/command.c @@ -28,7 +28,7 @@ #include #define _(x) gettext(x) -#include "nanolight.h" +#include "lightctx.h" enum token_type { @@ -76,7 +76,7 @@ static int stop_char(char c) } -static int find_tokens(const char *cmd, struct token *tokens, struct nanolight *nl) +static int find_tokens(const char *cmd, struct token *tokens, struct lightctx *nl) { int i; int n = 0; @@ -160,7 +160,7 @@ static const char *str_attr(int att) return "???"; } -static void show_tokens(struct token *tokens, int n, struct nanolight *nl) +static void show_tokens(struct token *tokens, int n, struct lightctx *nl) { int i; @@ -199,7 +199,7 @@ static void show_tokens(struct token *tokens, int n, struct nanolight *nl) } -static void set_level(struct nanolight *nl, int val) +static void set_level(struct lightctx *nl, int val) { int i; @@ -210,7 +210,7 @@ static void set_level(struct nanolight *nl, int val) } -int command_run(const char *cmd, struct nanolight *nl) +int command_run(const char *cmd, struct lightctx *nl) { struct token tokens[1024]; int i, n; -- cgit v1.2.3