mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
This commit is contained in:
committed by
GitHub
parent
a4b8762d85
commit
99bdf978d7
@@ -970,7 +970,7 @@ _exit:
|
||||
}
|
||||
#endif /* ARCH_MM_MMU */
|
||||
|
||||
RT_WEAK int lwp_load(const char *filename, struct rt_lwp *lwp, uint8_t *load_addr, size_t addr_size, struct process_aux *aux)
|
||||
rt_weak int lwp_load(const char *filename, struct rt_lwp *lwp, uint8_t *load_addr, size_t addr_size, struct process_aux *aux)
|
||||
{
|
||||
uint8_t *ptr;
|
||||
int ret = -1;
|
||||
|
||||
Reference in New Issue
Block a user