From 3e05f24608d63862cbbeed0ea36b4b8522aa1902 Mon Sep 17 00:00:00 2001 From: liruncong Date: Wed, 5 Dec 2018 20:37:02 +0800 Subject: [libcpu/arm/sep4020]rt_hw_interrupt_install函数name参数增加const限定 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/arm/sep4020/interrupt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpu') diff --git a/libcpu/arm/sep4020/interrupt.c b/libcpu/arm/sep4020/interrupt.c index f688286d19..ebc9c9625b 100644 --- a/libcpu/arm/sep4020/interrupt.c +++ b/libcpu/arm/sep4020/interrupt.c @@ -107,7 +107,7 @@ void rt_hw_interrupt_umask(int vector) * @param old_handler the old interrupt service routine */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; -- cgit v1.3.1