From 8120fa5e31a6d3e488a640f0704b795b557008f7 Mon Sep 17 00:00:00 2001 From: LiuLingze Date: Tue, 19 Mar 2024 07:40:11 +0000 Subject: [PATCH] [bsp][cv1800b] fix a implicit-function-declaration warning Signed-off-by: LiuLingze --- libcpu/risc-v/t-head/c906/trap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libcpu/risc-v/t-head/c906/trap.c b/libcpu/risc-v/t-head/c906/trap.c index ac04fdbfa4..025b2d3092 100644 --- a/libcpu/risc-v/t-head/c906/trap.c +++ b/libcpu/risc-v/t-head/c906/trap.c @@ -28,6 +28,7 @@ #ifdef RT_USING_SMART #include +void rt_hw_backtrace(rt_uint32_t *ffp, rt_ubase_t sepc); #else #define rt_hw_backtrace(...) (0) #endif