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