gdb: make deprecated_show_value_hack static
authorAndrew Burgess <aburgess@redhat.com>
Tue, 4 Apr 2023 09:10:44 +0000 (10:10 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Fri, 28 Apr 2023 21:50:46 +0000 (22:50 +0100)
commitb63c50f9d4bd3c202150b480796ef8cfd4cc6875
tree9968bbaa34aecc5a669b31b6acc34bd92d14de4d
parent598e87ecc064cd8ffc2af4bcde4186d30382f4d5
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>
gdb/cli/cli-setshow.c
gdb/command.h