From: Omar Sandoval <osan...@fb.com> It's only used in libdw_find_split_unit.c.
Signed-off-by: Omar Sandoval <osan...@fb.com> --- libdw/ChangeLog | 4 ++++ libdw/libdw_find_split_unit.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 406310ef..0014aeb1 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,7 @@ +2023-09-27 Omar Sandoval <osan...@fb.com> + + * libdw_find_split_unit.c (try_split_file): Make static. + 2023-02-22 Mark Wielaard <m...@klomp.org> * dwarf_getscopes.c (origin_match): Don't free a->scopes. diff --git a/libdw/libdw_find_split_unit.c b/libdw/libdw_find_split_unit.c index a22e7bc9..533f8072 100644 --- a/libdw/libdw_find_split_unit.c +++ b/libdw/libdw_find_split_unit.c @@ -41,7 +41,7 @@ #include <sys/stat.h> #include <fcntl.h> -void +static void try_split_file (Dwarf_CU *cu, const char *dwo_path) { int split_fd = open (dwo_path, O_RDONLY); -- 2.41.0