diff options
author | Tom Tromey <tromey@adacore.com> | 2020-12-04 08:15:14 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-12-04 08:17:18 -0700 |
commit | 91f8721328eaab19d0613f6b5377849fe252c9c0 (patch) | |
tree | 0c52f144965c30ef2963e70f12655829da37637e /gdb/value.c | |
parent | 5382f97180f5be551868449e411a4daaebf232fb (diff) | |
download | fsf-binutils-gdb-91f8721328eaab19d0613f6b5377849fe252c9c0.zip fsf-binutils-gdb-91f8721328eaab19d0613f6b5377849fe252c9c0.tar.gz fsf-binutils-gdb-91f8721328eaab19d0613f6b5377849fe252c9c0.tar.bz2 |
Constify value_internal_function_name
I noticed that value_internal_function_name should have a const return
type. This patch makes this change.
gdb/ChangeLog
2020-12-04 Tom Tromey <tromey@adacore.com>
* value.c (value_internal_function_name): Make return type const.
* value.h (value_internal_function_name): Make return type const.
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.c b/gdb/value.c index 0087fe5..eba5bce 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -2397,7 +2397,7 @@ create_internal_function (const char *name, return ifn; } -char * +const char * value_internal_function_name (struct value *val) { struct internal_function *ifn; |