summaryrefslogtreecommitdiff
path: root/gdb/utils.h
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-06-07 17:23:42 +0100
committerAndrew Burgess <aburgess@redhat.com>2022-06-08 20:04:33 +0100
commit42d77edce1b4d49fed11fc79576ebe359f9b5f7f (patch)
tree72726362ef76de5d156f8317ed32e5bc13766d97 /gdb/utils.h
parentdeb70aa0322c4c43b68fa859b52a0ccf2d904b0f (diff)
downloadbinutils-gdb-42d77edce1b4d49fed11fc79576ebe359f9b5f7f.tar.gz
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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/utils.h b/gdb/utils.h
index 7e2028580bf..d2acf899ba2 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);