summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-11-14 23:27:29 +0100
committerDavid Lamparter <equinox@diac24.net>2019-11-30 00:38:32 +0100
commit154e9ca142bddf748f12a8042519ec6438364625 (patch)
treed96c1306241b608e8c2048f73862a369abaa5470 /lib/command_graph.h
parentfa751d15a01c976058cad8492be4b5c8226edae7 (diff)
lib: make cmd_element & qobj_type const
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/command_graph.h')
-rw-r--r--lib/command_graph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h
index 903d515834..1efe8b1803 100644
--- a/lib/command_graph.h
+++ b/lib/command_graph.h
@@ -116,7 +116,7 @@ extern struct cmd_token *cmd_token_dup(struct cmd_token *);
extern void cmd_token_del(struct cmd_token *);
extern void cmd_token_varname_set(struct cmd_token *token, const char *varname);
-extern void cmd_graph_parse(struct graph *graph, struct cmd_element *cmd);
+extern void cmd_graph_parse(struct graph *graph, const struct cmd_element *cmd);
extern void cmd_graph_names(struct graph *graph);
extern void cmd_graph_merge(struct graph *old, struct graph *n,
int direction);