[01/14] libdw: Make try_split_file static
Commit Message
From: Omar Sandoval <osandov@fb.com>
It's only used in libdw_find_split_unit.c.
Signed-off-by: Omar Sandoval <osandov@fb.com>
---
libdw/ChangeLog | 4 ++++
libdw/libdw_find_split_unit.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
Comments
Hi Omar,
On Wed, 2023-09-27 at 11:20 -0700, Omar Sandoval wrote:
> It's only used in libdw_find_split_unit.c.
Obvious correct. Applied.
Thanks,
Mark
@@ -1,3 +1,7 @@
+2023-09-27 Omar Sandoval <osandov@fb.com>
+
+ * libdw_find_split_unit.c (try_split_file): Make static.
+
2023-02-22 Mark Wielaard <mark@klomp.org>
* dwarf_getscopes.c (origin_match): Don't free a->scopes.
@@ -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);