diff options
Diffstat (limited to 'cfg.def.h')
| -rw-r--r-- | cfg.def.h | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -39,22 +39,6 @@ static struct scheme schemes[SchemeLast] = { }, }; -#define DEFCMD(b, nme, cmd) \ - { .bind = (b), \ - .name = (nme), \ - .command = (cmd), \ - .nchildren = 0, \ - .children = NULL, \ - }, - -#define DEFPREFIX(b, nme, cs) \ - { .bind = b, \ - .name = nme, \ - .command = 0, \ - .nchildren = LENGTH(cs), \ - .children = (cs), \ - }, - static struct command test_commands[] = { DEFCMD("t", "test command", "echo ok") }; |
