mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
[rtdef] rename RT_CTASSERT to RT_STATIC_ASSERT
This commit is contained in:
@@ -1378,7 +1378,7 @@ struct ksigevent
|
||||
};
|
||||
|
||||
/* to protect unsafe implementation in current rt-smart toolchain */
|
||||
RT_CTASSERT(sigevent_compatible, offsetof(struct ksigevent, sigev_tid) == offsetof(struct sigevent, sigev_notify_function));
|
||||
RT_STATIC_ASSERT(sigevent_compatible, offsetof(struct ksigevent, sigev_tid) == offsetof(struct sigevent, sigev_notify_function));
|
||||
|
||||
sysret_t sys_timer_create(clockid_t clockid, struct sigevent *restrict sevp, timer_t *restrict timerid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user