Commit 2ef223ef authored by Matthias Braun's avatar Matthias Braun
Browse files

make gdb_node_helper() argument const

parent 89434abb
......@@ -552,7 +552,7 @@ FIRM_API dbg_info *get_irn_dbg_info(const ir_node *n);
* Returns a descriptive name of a node (containing type+number)
FIRM_API const char *gdb_node_helper(void *firm_object);
FIRM_API const char *gdb_node_helper(const void *firm_object);
* @addtogroup Switch
......@@ -1032,7 +1032,7 @@ dbg_info *(get_irn_dbg_info)(const ir_node *n)
* A gdb helper function to print firm objects.
const char *gdb_node_helper(void *firm_object)
const char *gdb_node_helper(const void *firm_object)
static char buf[1024];
ir_snprintf(buf, sizeof(buf), "%+F", firm_object);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment