include/sys/syscall_lookup.h: Fix table for nx_mkfifo

Fix compilation when CONFIG_DEV_PIPE_SIZE > 0 && CONFIG_DEV_FIFO_SIZE == 0

In this case the nx_mkfifo doesn't exist.

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2020-12-30 16:07:19 +02:00 committed by Xiang Xiao
parent 39274937e4
commit 49409b516c
1 changed files with 3 additions and 0 deletions

View File

@ -261,6 +261,9 @@ SYSCALL_LOOKUP(telldir, 1)
#if defined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0
SYSCALL_LOOKUP(nx_pipe, 3)
#endif
#if defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0
SYSCALL_LOOKUP(nx_mkfifo, 3)
#endif