mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-12 02:32:08 +08:00
[ci] open ci check with function declaration warning (#8546)
This commit is contained in:
+4
-4
@@ -134,7 +134,7 @@ rt_isr_handler_t rt_hw_interrupt_install(int vector,
|
||||
const char *name);
|
||||
|
||||
#ifdef RT_USING_SMP
|
||||
rt_base_t rt_hw_local_irq_disable();
|
||||
rt_base_t rt_hw_local_irq_disable(void);
|
||||
void rt_hw_local_irq_enable(rt_base_t level);
|
||||
|
||||
rt_base_t rt_cpus_lock(void);
|
||||
@@ -235,9 +235,9 @@ void rt_hw_secondary_cpu_idle_exec(void);
|
||||
#endif
|
||||
|
||||
#ifndef RT_USING_CACHE
|
||||
#define rt_hw_isb()
|
||||
#define rt_hw_dmb()
|
||||
#define rt_hw_dsb()
|
||||
#define rt_hw_isb(void)
|
||||
#define rt_hw_dmb(void)
|
||||
#define rt_hw_dsb(void)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -42,6 +42,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
int entry(void);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @addtogroup KernelObject
|
||||
* @{
|
||||
@@ -207,6 +211,7 @@ void rt_system_scheduler_init(void);
|
||||
void rt_system_scheduler_start(void);
|
||||
|
||||
void rt_schedule(void);
|
||||
void rt_scheduler_do_irq_switch(void *context);
|
||||
void rt_schedule_insert_thread(struct rt_thread *thread);
|
||||
void rt_schedule_remove_thread(struct rt_thread *thread);
|
||||
|
||||
@@ -334,6 +339,15 @@ void rt_memheap_info(struct rt_memheap *heap,
|
||||
rt_size_t *max_used);
|
||||
#endif /* RT_USING_MEMHEAP */
|
||||
|
||||
#ifdef RT_USING_MEMHEAP_AS_HEAP
|
||||
/**
|
||||
* memory heap as heap
|
||||
*/
|
||||
void *_memheap_alloc(struct rt_memheap *heap, rt_size_t size);
|
||||
void _memheap_free(void *rmem);
|
||||
void *_memheap_realloc(struct rt_memheap *heap, void *rmem, rt_size_t newsize);
|
||||
#endif
|
||||
|
||||
#ifdef RT_USING_SLAB
|
||||
/**
|
||||
* slab object interface
|
||||
@@ -664,6 +678,8 @@ void rt_cpus_unlock(rt_base_t level);
|
||||
struct rt_cpu *rt_cpu_self(void);
|
||||
struct rt_cpu *rt_cpu_index(int index);
|
||||
|
||||
void rt_cpus_lock_status_restore(struct rt_thread *thread);
|
||||
|
||||
#endif /* RT_USING_SMP */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user