Skip to content

Commit 106398f

Browse files
geertuglaubitz
authored andcommitted
sh: dwarf: Make dwarf_lookup_fde() static
arch/sh/kernel/dwarf.c:347:19: warning: no previous prototype for 'dwarf_lookup_fde' [-Wmissing-prototypes] There are no users outside this file, so make it static. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/55e8261a354e8ec4d375754e404c6c1d303af715.1709326528.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
1 parent cb1a55e commit 106398f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/sh/kernel/dwarf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ static struct dwarf_cie *dwarf_lookup_cie(unsigned long cie_ptr)
344344
* dwarf_lookup_fde - locate the FDE that covers pc
345345
* @pc: the program counter
346346
*/
347-
struct dwarf_fde *dwarf_lookup_fde(unsigned long pc)
347+
static struct dwarf_fde *dwarf_lookup_fde(unsigned long pc)
348348
{
349349
struct rb_node **rb_node = &fde_root.rb_node;
350350
struct dwarf_fde *fde = NULL;

0 commit comments

Comments
 (0)