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