Parcourir la source

[libcpu/mips/xburst]rt_hw_interrupt_install函数name参数增加const限定

liruncong il y a 6 ans
Parent
commit
2502114e34
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      libcpu/mips/xburst/interrupt.c

+ 1 - 1
libcpu/mips/xburst/interrupt.c

@@ -95,7 +95,7 @@ void rt_hw_interrupt_umask(int vector)
  * @return old handler
  */
 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;