add const to node
This commit is contained in:
parent
7d69e79535
commit
b139d8d3f2
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
void r3_tree_build_ag_nodes(Agraph_t * g, Agnode_t * ag_parent_node, const node * n, int node_cnt);
|
||||
|
||||
int r3_tree_render_dot(node * tree);
|
||||
int r3_tree_render_dot(const node * tree);
|
||||
|
||||
int r3_tree_render_file(const node * tree, const char * format, const char * filename);
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ void r3_tree_build_ag_nodes(Agraph_t * g, Agnode_t * ag_parent_node, const node
|
|||
/**
|
||||
* Render a tree to tree graph image via graphviz (dot)
|
||||
*/
|
||||
int r3_tree_render_dot(node * tree)
|
||||
int r3_tree_render_dot(const node * tree)
|
||||
{
|
||||
Agraph_t *g;
|
||||
/* set up a graphviz context - but only once even for multiple graphs */
|
||||
|
|
Loading…
Reference in a new issue