From 0a5e7bd3ef033ed6e40e94680f0fdb2a8313f0cb Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Wed, 20 Jan 2021 15:25:39 +0100 Subject: [PATCH] libs/libc: libc.csv "mkfifo" and "pipe" has to be conditionalized same as in the sources. The CONFIG_PIPES, CONFIG_DEV_FIFO_SIZE and CONFIG_DEV_PIPE_SIZE setting has to be considered. Signed-off-by: Pavel Pisa --- libs/libc/libc.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libc/libc.csv b/libs/libc/libc.csv index a5395ed6fa3..a1e246d3f75 100644 --- a/libs/libc/libc.csv +++ b/libs/libc/libc.csv @@ -100,12 +100,12 @@ "memcpy","string.h","","FAR void *","FAR void *","FAR const void *","size_t" "memmove","string.h","","FAR void *","FAR void *","FAR const void *","size_t" "memset","string.h","","FAR void *","FAR void *","int","size_t" -"mkfifo","sys/stat.h","","int","FAR const char *","mode_t" +"mkfifo","sys/stat.h","defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0","int","FAR const char *","mode_t" "mktime","time.h","","time_t","FAR struct tm *" "ntohl","arpa/inet.h","","uint32_t","uint32_t" "ntohs","arpa/inet.h","","uint16_t","uint16_t" "perror","stdio.h","defined(CONFIG_FILE_STREAM)","void","FAR const char *" -"pipe","unistd.h","","int","int [2]|FAR int *" +"pipe","unistd.h","defined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0","int","int [2]|FAR int *" "printf","stdio.h","","int","FAR const IPTR char *","..." "pthread_attr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *" "pthread_attr_getinheritsched","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR const pthread_attr_t *","FAR int *"