summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorYuqiang Wang <[email protected]>2024-02-21 11:45:04 +0800
committerGitHub <[email protected]>2024-02-20 22:45:04 -0500
commitc6bdee3c503a287a0967fd0e3cb6b7a1eb6d0b5e (patch)
tree884d88b13750c2a0aa50d7cd7da495730f511605 /bsp
parent52a5b5cc48d9ca784f1728f97e2b8b9abc82aa0e (diff)
[ci] open ci check with function declaration warning (#8546)
Diffstat (limited to 'bsp')
-rw-r--r--bsp/allwinner/d1/board/board.c2
-rw-r--r--bsp/allwinner/d1s/board/board.c2
-rw-r--r--bsp/bouffalo_lab/bl808/d0/board/board.c2
-rwxr-xr-xbsp/cvitek/cv1800b/board/board.c2
-rwxr-xr-xbsp/k210/board/board.c2
-rw-r--r--bsp/qemu-virt64-riscv/driver/board.c2
6 files changed, 0 insertions, 12 deletions
diff --git a/bsp/allwinner/d1/board/board.c b/bsp/allwinner/d1/board/board.c
index 416348f3cf..0035a3f752 100644
--- a/bsp/allwinner/d1/board/board.c
+++ b/bsp/allwinner/d1/board/board.c
@@ -67,8 +67,6 @@ static void __rt_assert_handler(const char *ex_string, const char *func, rt_size
//BSP的C入口
void primary_cpu_entry(void)
{
- extern void entry(void);
-
//初始化BSS
init_bss();
//关中断
diff --git a/bsp/allwinner/d1s/board/board.c b/bsp/allwinner/d1s/board/board.c
index 49bed66e90..33470e5cb7 100644
--- a/bsp/allwinner/d1s/board/board.c
+++ b/bsp/allwinner/d1s/board/board.c
@@ -74,8 +74,6 @@ static void __rt_assert_handler(const char *ex_string, const char *func, rt_size
// BSP的C入口
void primary_cpu_entry(void)
{
- extern void entry(void);
-
// 关中断
rt_hw_interrupt_disable();
rt_assert_set_hook(__rt_assert_handler);
diff --git a/bsp/bouffalo_lab/bl808/d0/board/board.c b/bsp/bouffalo_lab/bl808/d0/board/board.c
index 11da0d12d6..19dcfb3bc5 100644
--- a/bsp/bouffalo_lab/bl808/d0/board/board.c
+++ b/bsp/bouffalo_lab/bl808/d0/board/board.c
@@ -53,8 +53,6 @@ static void __rt_assert_handler(const char *ex_string, const char *func, rt_size
void primary_cpu_entry(void)
{
- extern void entry(void);
-
/* disable global interrupt */
rt_hw_interrupt_disable();
rt_assert_set_hook(__rt_assert_handler);
diff --git a/bsp/cvitek/cv1800b/board/board.c b/bsp/cvitek/cv1800b/board/board.c
index 2bed67d381..ad1ee75b07 100755
--- a/bsp/cvitek/cv1800b/board/board.c
+++ b/bsp/cvitek/cv1800b/board/board.c
@@ -53,8 +53,6 @@ static void __rt_assert_handler(const char *ex_string, const char *func, rt_size
void primary_cpu_entry(void)
{
- extern void entry(void);
-
/* disable global interrupt */
rt_hw_interrupt_disable();
rt_assert_set_hook(__rt_assert_handler);
diff --git a/bsp/k210/board/board.c b/bsp/k210/board/board.c
index 861bde3488..074f609851 100755
--- a/bsp/k210/board/board.c
+++ b/bsp/k210/board/board.c
@@ -34,8 +34,6 @@ void init_bss(void)
void primary_cpu_entry(void)
{
- extern void entry(void);
-
/* disable global interrupt */
init_bss();
rt_hw_interrupt_disable();
diff --git a/bsp/qemu-virt64-riscv/driver/board.c b/bsp/qemu-virt64-riscv/driver/board.c
index cbbe80ee03..e6edded9f1 100644
--- a/bsp/qemu-virt64-riscv/driver/board.c
+++ b/bsp/qemu-virt64-riscv/driver/board.c
@@ -44,8 +44,6 @@ struct mem_desc platform_mem_desc[] = {
void primary_cpu_entry(void)
{
- extern void entry(void);
-
/* disable global interrupt */
rt_hw_interrupt_disable();