]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
libdw: Make try_split_file static
authorOmar Sandoval <osandov@fb.com>
Wed, 27 Sep 2023 18:20:50 +0000 (11:20 -0700)
committerMark Wielaard <mark@klomp.org>
Tue, 3 Oct 2023 14:53:38 +0000 (16:53 +0200)
It's only used in libdw_find_split_unit.c.

Signed-off-by: Omar Sandoval <osandov@fb.com>
libdw/ChangeLog
libdw/libdw_find_split_unit.c

index 406310ef3a5f0fd924fcc8b058820bfc62e402fb..0014aeb1f21702ef34d292005f9abfcafef24d48 100644 (file)
@@ -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.
index a22e7bc90b23614bedcd982f248082c0d14c0c57..533f807296f12af61e6e49607e99febf64be0578 100644 (file)
@@ -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);