diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-02-27 16:53:22 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-02-27 16:53:22 +0100 |
| commit | 7de88d1bcd420447023b8e74b0aa4f5e8ba1df6b (patch) | |
| tree | 71458dbc99241c9d56744508996d68099bf01936 /src/commands.h | |
| parent | 48cd8b6b1779f34ba0507cb697492de83c4e9da8 (diff) | |
| download | nissy-7de88d1bcd420447023b8e74b0aa4f5e8ba1df6b.tar.gz nissy-7de88d1bcd420447023b8e74b0aa4f5e8ba1df6b.zip | |
Removed array-size constants for certain objects (steps, commands...)
Diffstat (limited to 'src/commands.h')
| -rw-r--r-- | src/commands.h | 4 |
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 | |||
| 11 | void free_args(CommandArgs *args); | 9 | void free_args(CommandArgs *args); |
| 12 | CommandArgs * new_args(); | 10 | CommandArgs * new_args(); |
| 13 | 11 | ||
| 14 | extern Command * commands[NCOMMANDS]; | 12 | extern Command * commands[]; |
| 15 | 13 | ||
| 16 | #endif | 14 | #endif |
