From 5c19952c66c40c3d13a50d48b8979f86e66d776d Mon Sep 17 00:00:00 2001 From: bx Date: Sat, 2 Apr 2022 20:44:11 +0000 Subject: [PATCH] including commands.c *after* defining command funcs --- commands.c | 4 +--- efn.c | 4 +--- main.c | 4 ---- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/commands.c b/commands.c index 274c265..4744f34 100644 --- a/commands.c +++ b/commands.c @@ -9,7 +9,5 @@ NULL, ['['] = c_unindent, [']'] = c_indent, ['d'] = c_delete, - - - +}; diff --git a/efn.c b/efn.c index d6e43f8..5ff2c52 100644 --- a/efn.c +++ b/efn.c @@ -8,9 +8,6 @@ #include "main.c" -#include "commands.c" -}; - #include "c_quit.c" #include "c_open.c" @@ -25,4 +22,5 @@ #include "c_indent.c" #include "c_delete.c" +#include "commands.c" diff --git a/main.c b/main.c index d34de92..da658cb 100644 --- a/main.c +++ b/main.c @@ -39,7 +39,3 @@ main(int argc, char **argv) { return 0; } - - - -