arch/x86_64: Fix strict-prototype warning.
This commit fixed a strict-prototype warning. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
parent
9f01e5c972
commit
87c217ad93
1 changed files with 1 additions and 1 deletions
|
|
@ -792,7 +792,7 @@ static inline_function uint32_t up_getgs(void)
|
|||
|
||||
/* Get the current FLAGS register contents */
|
||||
|
||||
static inline_function irqstate_t irqflags()
|
||||
static inline_function irqstate_t irqflags(void)
|
||||
{
|
||||
irqstate_t flags;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue