libsel4: add void to function prototypes

This commit is contained in:
Kent McLeod 2016-12-15 15:04:44 +11:00
parent 60eef86cd0
commit e537ee1d67
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@
#define SEL4_MAPPING_LOOKUP_NO_PT 20
#endif
LIBSEL4_INLINE_FUNC seL4_Word seL4_MappingFailedLookupLevel()
LIBSEL4_INLINE_FUNC seL4_Word seL4_MappingFailedLookupLevel(void)
{
return seL4_GetMR(SEL4_MAPPING_LOOKUP_LEVEL);
}

View file

@ -21,7 +21,7 @@
#define SEL4_MAPPING_LOOKUP_NO_PT 22
#endif
LIBSEL4_INLINE_FUNC seL4_Word seL4_MappingFailedLookupLevel()
LIBSEL4_INLINE_FUNC seL4_Word seL4_MappingFailedLookupLevel(void)
{
return seL4_GetMR(SEL4_MAPPING_LOOKUP_LEVEL);
}

View file

@ -18,7 +18,7 @@
#define SEL4_MAPPING_LOOKUP_NO_PD 30
#define SEL4_MAPPING_LOOKUP_NO_PDPT 39
LIBSEL4_INLINE_FUNC seL4_Word seL4_MappingFailedLookupLevel()
LIBSEL4_INLINE_FUNC seL4_Word seL4_MappingFailedLookupLevel(void)
{
return seL4_GetMR(SEL4_MAPPING_LOOKUP_LEVEL);
}