summaryrefslogtreecommitdiff
path: root/include/rtthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rtthread.h')
-rw-r--r--include/rtthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h
index 705795b522..c7f35d163e 100644
--- a/include/rtthread.h
+++ b/include/rtthread.h
@@ -518,6 +518,8 @@ void rt_show_version(void);
#ifdef RT_DEBUG
extern void (*rt_assert_hook)(const char* ex, const char* func, rt_size_t line);
void rt_assert_set_hook(void (*hook)(const char* ex, const char* func, rt_size_t line));
+
+void rt_assert_handler(const char* ex, const char* func, rt_size_t line);
#endif /* RT_DEBUG */
/*@}*/