aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-11-10 15:46:17 -0700
committerTom Tromey <tom@tromey.com>2020-11-10 15:46:19 -0700
commitbaf20f7627811d7bd96806ee5ff756899159fd70 (patch)
tree1f37214e9da6c69358518f8af183930ad4ed9bee /gdb/value.h
parentcaaece0e2f523049d77ca1bafc1fea911f9c25c7 (diff)
downloadgdb-baf20f7627811d7bd96806ee5ff756899159fd70.zip
gdb-baf20f7627811d7bd96806ee5ff756899159fd70.tar.gz
gdb-baf20f7627811d7bd96806ee5ff756899159fd70.tar.bz2
Make internalvar_name return a const char *
This changes internalvar_name to return a const char *. gdb/ChangeLog 2020-11-10 Tom Tromey <tom@tromey.com> * value.h (internalvar_name): Update. * value.c (internalvar_name): Make return type const.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 644501f..bc57f4f 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -1122,7 +1122,7 @@ extern void print_variable_and_value (const char *name,
extern void typedef_print (struct type *type, struct symbol *news,
struct ui_file *stream);
-extern char *internalvar_name (const struct internalvar *var);
+extern const char *internalvar_name (const struct internalvar *var);
extern void preserve_values (struct objfile *);