From 99bdf978d7fe4ec18ed50a639e15b254825c871b Mon Sep 17 00:00:00 2001 From: "Man, Jianting (Meco)" <920369182@qq.com> Date: Sun, 11 Dec 2022 13:12:03 -0500 Subject: [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 --- src/components.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components.c') diff --git a/src/components.c b/src/components.c index 78eb002214..809ca72a1d 100644 --- a/src/components.c +++ b/src/components.c @@ -165,7 +165,7 @@ int entry(void) #ifndef RT_USING_HEAP /* if there is not enable heap, we should use static thread and stack. */ -ALIGN(RT_ALIGN_SIZE) +rt_align(RT_ALIGN_SIZE) static rt_uint8_t main_thread_stack[RT_MAIN_THREAD_STACK_SIZE]; struct rt_thread main_thread; #endif /* RT_USING_HEAP */ -- cgit v1.3.1