aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-10-02 15:41:34 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-10-19 10:57:51 -0400
commit539223dec932d76596d56ef23b4724b4f4438cc4 (patch)
tree063ca8dc973c73beb49cff1ba4a434f3571ba886 /gdb/solib.h
parent1f08aca9d045167c68cf7afba1738260d5585979 (diff)
downloadbinutils-539223dec932d76596d56ef23b4724b4f4438cc4.zip
binutils-539223dec932d76596d56ef23b4724b4f4438cc4.tar.gz
binutils-539223dec932d76596d56ef23b4724b4f4438cc4.tar.bz2
gdb: make get_cbfd_soname_build_id static
It is only used in solib.c. Change-Id: I43461d13d84d65c4f6913d4033678d8983b9910b Approved-By: Pedro Alves <pedro@palves.net> Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
Diffstat (limited to 'gdb/solib.h')
-rw-r--r--gdb/solib.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/solib.h b/gdb/solib.h
index 50b154b..88ade88 100644
--- a/gdb/solib.h
+++ b/gdb/solib.h
@@ -143,11 +143,4 @@ extern void set_cbfd_soname_build_id (gdb_bfd_ref_ptr abfd,
const char *soname,
const bfd_build_id *build_id);
-/* If SONAME had a build-id associated with it in ABFD's registry by a
- previous call to set_cbfd_soname_build_id then return the build-id
- as a NULL-terminated hex string. */
-
-extern gdb::unique_xmalloc_ptr<char> get_cbfd_soname_build_id
- (gdb_bfd_ref_ptr abfd, const char *soname);
-
#endif /* SOLIB_H */