Include header for unwind_backtrace prototype and mark dump_backtrace_entry as static. Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> --- arch/arm/lib64/stacktrace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/lib64/stacktrace.c b/arch/arm/lib64/stacktrace.c index b8352c1454da..43911884466d 100644 --- a/arch/arm/lib64/stacktrace.c +++ b/arch/arm/lib64/stacktrace.c @@ -11,6 +11,7 @@ #include <common.h> #include <asm/stacktrace.h> +#include <asm/unwind.h> #define THREAD_SIZE 16384 @@ -45,7 +46,7 @@ int unwind_frame(struct stackframe *frame) return 0; } -void dump_backtrace_entry(unsigned long where, unsigned long from) +static void dump_backtrace_entry(unsigned long where, unsigned long from) { #ifdef CONFIG_KALLSYMS printf("[<%08lx>] (%pS) from [<%08lx>] (%pS)\n", where, (void *)where, from, (void *)from); -- 2.19.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox