diff options
author | Andrew Burgess <aburgess@redhat.com> | 2023-04-04 10:10:44 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-04-28 22:50:46 +0100 |
commit | b63c50f9d4bd3c202150b480796ef8cfd4cc6875 (patch) | |
tree | 9968bbaa34aecc5a669b31b6acc34bd92d14de4d /gdb/cli | |
parent | 598e87ecc064cd8ffc2af4bcde4186d30382f4d5 (diff) | |
download | binutils-b63c50f9d4bd3c202150b480796ef8cfd4cc6875.zip binutils-b63c50f9d4bd3c202150b480796ef8cfd4cc6875.tar.gz binutils-b63c50f9d4bd3c202150b480796ef8cfd4cc6875.tar.bz2 |
gdb: make deprecated_show_value_hack static
The deprecated_show_value_hack function is now only used inside
cli-setshow.c, so lets make the function static to discourage its use
anywhere else.
There should be no user visible changes after this commit
Reviewed-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-setshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c index dad3e60..07233e3 100644 --- a/gdb/cli/cli-setshow.c +++ b/gdb/cli/cli-setshow.c @@ -117,7 +117,7 @@ parse_cli_boolean_value (const char *arg) } -void +static void deprecated_show_value_hack (struct ui_file *ignore_file, int ignore_from_tty, struct cmd_list_element *c, |