From e3c2a0238a1b83f6872ffad304c93a46062bf6e4 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Tue, 13 Aug 2019 08:58:04 -0600 Subject: [PATCH] libs/libc/libc.csv: Correct dependency of setlocale on CONFIG_LIBC_LOCALE. --- 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 bfc65ec824..19e0938851 100644 --- a/libs/libc/libc.csv +++ b/libs/libc/libc.csv @@ -134,7 +134,7 @@ "sem_getvalue","semaphore.h","","int","FAR sem_t *","FAR int *" "sem_init","semaphore.h","","int","FAR sem_t *","int","unsigned int" "sendfile","sys/sendfile.h","","ssize_t","int","int","off_t","size_t" -"setlocale","locale.h","","FAR char *s","int","FAR const char *s" +"setlocale","locale.h","defined(CONFIG_LIBC_LOCALE)","FAR char *s","int","FAR const char *s" "setlogmask","syslog.h","","int","int" "sigaddset","signal.h","","int","FAR sigset_t *","int" "sigdelset","signal.h","","int","FAR sigset_t *","int" @@ -158,7 +158,7 @@ "strcat","string.h","","FAR char","FAR char *","FAR const char *" "strchr","string.h","","FAR char","FAR const char *","int" "strcmp","string.h","","int","FAR const char *","FAR const char *" -"strcoll","string.h","CONFIG_LIBC_LOCALE","int","FAR const char *","FAR const char *" +"strcoll","string.h","defined(CONFIG_LIBC_LOCALE)","int","FAR const char *","FAR const char *" "strcpy","string.h","","FAR char *","FAR char *","FAR const char *" "strcspn","string.h","","size_t","FAR const char *","FAR const char *" "strdup","string.h","","FAR char","FAR const char *"