summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-12-06 06:04:11 +0800
committerGitHub <[email protected]>2018-12-06 06:04:11 +0800
commit27cd03d4546a245d4d11d3b25eeda31b91815b69 (patch)
tree1d1f87c7d5456b39547084b190889186d07a0336 /include
parent51261117788a179048567a8ba0179e3c88e7b44a (diff)
parentcd98097104a7321e3fe1bd5b05bf782b61c3bfc0 (diff)
Merge pull request #2036 from liruncong/const
rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'include')
-rw-r--r--include/rthw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rthw.h b/include/rthw.h
index 3fa0ba301c..dee10b0bee 100644
--- a/include/rthw.h
+++ b/include/rthw.h
@@ -92,7 +92,7 @@ void rt_hw_interrupt_umask(int vector);
rt_isr_handler_t rt_hw_interrupt_install(int vector,
rt_isr_handler_t handler,
void *param,
- char *name);
+ const char *name);
#ifdef RT_USING_SMP
rt_base_t rt_hw_local_irq_disable();