diff options
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 <libintl.h> #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; |