summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h
index c1de67e10f..6ab8497fe6 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -165,11 +165,12 @@ enum node_type {
extern vector cmdvec;
extern const struct message tokennames[];
-extern const char *const node_names[];
/* Node which has some commands and prompt string and configuration
function pointer . */
struct cmd_node {
+ const char *name;
+
/* Node index. */
enum node_type node;
enum node_type parent_node;