From 7de88d1bcd420447023b8e74b0aa4f5e8ba1df6b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 27 Feb 2022 16:53:22 +0100 Subject: Removed array-size constants for certain objects (steps, commands...) --- src/commands.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/commands.h') 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 @@ #include "solve.h" #include "steps.h" -#define NCOMMANDS 20 - void free_args(CommandArgs *args); CommandArgs * new_args(); -extern Command * commands[NCOMMANDS]; +extern Command * commands[]; #endif -- cgit v1.3