[rtdef] rename RT_CTASSERT to RT_STATIC_ASSERT

This commit is contained in:
Meco Man
2023-09-04 14:17:11 -04:00
parent 594db2b516
commit 5f948690c9
4 changed files with 5 additions and 5 deletions

View File

@@ -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)
{