diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-06-07 17:23:42 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-06-08 20:04:33 +0100 |
commit | 42d77edce1b4d49fed11fc79576ebe359f9b5f7f (patch) | |
tree | 72726362ef76de5d156f8317ed32e5bc13766d97 /gdb/utils.h | |
parent | deb70aa0322c4c43b68fa859b52a0ccf2d904b0f (diff) | |
download | gdb-42d77edce1b4d49fed11fc79576ebe359f9b5f7f.zip gdb-42d77edce1b4d49fed11fc79576ebe359f9b5f7f.tar.gz gdb-42d77edce1b4d49fed11fc79576ebe359f9b5f7f.tar.bz2 |
gdb: make throw_perror_with_name static
The throw_perror_with_name function is not used outside of utils.c
right now. And as perror_with_name is just a wrapper around
throw_perror_with_name, then any future calls would be to
perror_with_name.
Lets make throw_perror_with_name static.
There should be no user visible changes after this commit.
Diffstat (limited to 'gdb/utils.h')
-rw-r--r-- | gdb/utils.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/utils.h b/gdb/utils.h index 7e20285..d2acf89 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -296,9 +296,6 @@ extern CORE_ADDR string_to_core_addr (const char *my_string); extern void fprintf_symbol (struct ui_file *, const char *, enum language, int); -extern void throw_perror_with_name (enum errors errcode, const char *string) - ATTRIBUTE_NORETURN; - extern void perror_warning_with_name (const char *string); extern void print_sys_errmsg (const char *, int); |