Browse Source

[libcpu/arm/ia32]rt_hw_interrupt_install函数name参数增加const限定

liruncong 6 năm trước cách đây
mục cha
commit
bef3256db5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      libcpu/ia32/interrupt.c

+ 1 - 1
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 rt_hw_interrupt_install(int              vector,
                                          rt_isr_handler_t handler,
                                          rt_isr_handler_t handler,
                                          void            *param,
                                          void            *param,
-                                         char            *name)
+                                         const char      *name)
 {
 {
     rt_isr_handler_t old_handler = RT_NULL;
     rt_isr_handler_t old_handler = RT_NULL;