From 04a79d24cfb3ff6d5e1658dc284ba8b631ecf540 Mon Sep 17 00:00:00 2001 From: wuyangyong Date: Sun, 29 Apr 2012 02:11:40 +0000 Subject: [PATCH] fix extern list_thread return type by arda. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2104 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- libcpu/arm/cortex-m3/cpuport.c | 2 +- libcpu/arm/cortex-m4/cpuport.c | 2 +- libcpu/arm/lpc1100/fault.c | 2 +- libcpu/arm/lpc122x/fault.c | 2 +- libcpu/arm/nuc1xx/fault.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libcpu/arm/cortex-m3/cpuport.c b/libcpu/arm/cortex-m3/cpuport.c index 055afda43..af41a79f6 100644 --- a/libcpu/arm/cortex-m3/cpuport.c +++ b/libcpu/arm/cortex-m3/cpuport.c @@ -64,7 +64,7 @@ rt_uint8_t *rt_hw_stack_init(void *tentry, void *parameter, return (rt_uint8_t *)stk; } -extern void list_thread(void); +extern long list_thread(void); extern rt_thread_t rt_current_thread; /** * fault exception handling diff --git a/libcpu/arm/cortex-m4/cpuport.c b/libcpu/arm/cortex-m4/cpuport.c index 5f81462d1..b8f00a767 100644 --- a/libcpu/arm/cortex-m4/cpuport.c +++ b/libcpu/arm/cortex-m4/cpuport.c @@ -125,7 +125,7 @@ rt_uint8_t *rt_hw_stack_init(void *tentry, void *parameter, } extern void rt_hw_interrupt_thread_switch(void); -extern void list_thread(void); +extern long list_thread(void); extern rt_thread_t rt_current_thread; void rt_hw_hard_fault_exception(struct exception_stack_frame * exception_stack) { diff --git a/libcpu/arm/lpc1100/fault.c b/libcpu/arm/lpc1100/fault.c index 5b8dc6b62..d1fe68eef 100644 --- a/libcpu/arm/lpc1100/fault.c +++ b/libcpu/arm/lpc1100/fault.c @@ -26,7 +26,7 @@ struct stack_contex }; extern void rt_hw_interrupt_thread_switch(void); -extern void list_thread(void); +extern long list_thread(void); extern rt_thread_t rt_current_thread; void rt_hw_hard_fault_exception(struct stack_contex* contex) { diff --git a/libcpu/arm/lpc122x/fault.c b/libcpu/arm/lpc122x/fault.c index 5b8dc6b62..d1fe68eef 100644 --- a/libcpu/arm/lpc122x/fault.c +++ b/libcpu/arm/lpc122x/fault.c @@ -26,7 +26,7 @@ struct stack_contex }; extern void rt_hw_interrupt_thread_switch(void); -extern void list_thread(void); +extern long list_thread(void); extern rt_thread_t rt_current_thread; void rt_hw_hard_fault_exception(struct stack_contex* contex) { diff --git a/libcpu/arm/nuc1xx/fault.c b/libcpu/arm/nuc1xx/fault.c index 5b8dc6b62..d1fe68eef 100644 --- a/libcpu/arm/nuc1xx/fault.c +++ b/libcpu/arm/nuc1xx/fault.c @@ -26,7 +26,7 @@ struct stack_contex }; extern void rt_hw_interrupt_thread_switch(void); -extern void list_thread(void); +extern long list_thread(void); extern rt_thread_t rt_current_thread; void rt_hw_hard_fault_exception(struct stack_contex* contex) {