aboutsummaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-02-27 16:53:22 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2022-02-27 16:53:22 +0100
commit7de88d1bcd420447023b8e74b0aa4f5e8ba1df6b (patch)
tree71458dbc99241c9d56744508996d68099bf01936 /src/commands.h
parent48cd8b6b1779f34ba0507cb697492de83c4e9da8 (diff)
downloadnissy-7de88d1bcd420447023b8e74b0aa4f5e8ba1df6b.tar.gz
nissy-7de88d1bcd420447023b8e74b0aa4f5e8ba1df6b.zip
Removed array-size constants for certain objects (steps, commands...)
Diffstat (limited to '')
-rw-r--r--src/commands.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands.h b/src/commands.h
index bac71f1..b7a4c36 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -6,11 +6,9 @@
6#include "solve.h" 6#include "solve.h"
7#include "steps.h" 7#include "steps.h"
8 8
9#define NCOMMANDS 20
10
11void free_args(CommandArgs *args); 9void free_args(CommandArgs *args);
12CommandArgs * new_args(); 10CommandArgs * new_args();
13 11
14extern Command * commands[NCOMMANDS]; 12extern Command * commands[];
15 13
16#endif 14#endif

Generated with cgit - Back to sebastiano.tronto.net