forked from Imagelibrary/seL4
libsel4: update seL4_NBWait attributes
Currently, building `libsel4` as a static library with `KernelIsMCS` enabled fails with the following error: ``` static declaration of 'seL4_NBWait' follows non-static declaration ``` This [was mentioned][1] in the original PR that modified exported functions to use `LIBSEL4_INLINE_FUNC`. [1]: https://github.com/seL4/seL4/pull/101#issuecomment-442010551 Signed-off-by: Klim Tsoutsman <klim@tsoutsman.com>
This commit is contained in:
committed by
Gerwin Klein
parent
d14c53974c
commit
d90fada8b3
@@ -223,7 +223,7 @@ LIBSEL4_INLINE_FUNC seL4_MessageInfo_t seL4_WaitWithMRs(seL4_CPtr src, seL4_Word
|
||||
return info;
|
||||
}
|
||||
|
||||
static inline seL4_MessageInfo_t seL4_NBWait(seL4_CPtr src, seL4_Word *sender)
|
||||
LIBSEL4_INLINE_FUNC seL4_MessageInfo_t seL4_NBWait(seL4_CPtr src, seL4_Word *sender)
|
||||
{
|
||||
seL4_MessageInfo_t info;
|
||||
seL4_Word badge;
|
||||
|
||||
Reference in New Issue
Block a user