]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Make __libdw_fde_by_offset static in libdw/fde.c
authorMark Wielaard <mark@klomp.org>
Sat, 31 May 2025 22:16:51 +0000 (00:16 +0200)
committerMark Wielaard <mark@klomp.org>
Tue, 3 Jun 2025 12:16:40 +0000 (14:16 +0200)
commit7857383e2e9e7f87c447562263a567e24d0718c1
tree953ae3f6fc8c4b73940920f3610695f575bc1805
parent838c7cc03e4193df6d3089655d5a2ddd3efabd0b
libdw: Make __libdw_fde_by_offset static in libdw/fde.c

__libdw_fde_by_offset is marked as an extern internal function in
libdw/cfi.h (a not public header file). But it is (now) only used in
libdw/fde.c, called from __libdw_find_fde. It was originally used for
dwarf_cfi_validate_fde, but that function was deleted and never made
public. So simplify things and make it static in libdw/fde.c.

* libdw/cfi.h (__libdw_fde_by_offset): Remove.
* libdw/fde.c (__libdw_fde_by_offset): Make static.
libdw/cfi.h
libdw/fde.c