From 047c9fce40a6b39bce60a08ceea45f09f4c5571b Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Wed, 29 May 2024 10:04:51 +0800 Subject: [PATCH] libc.csv: Guard execv with LIBC_EXECFUNCS execv only available if LIBC_EXECFUNCS enabled. Signed-off-by: Huang Qi --- libs/libc/libc.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/libc.csv b/libs/libc/libc.csv index 2d7c77585d..3623e7ff62 100644 --- a/libs/libc/libc.csv +++ b/libs/libc/libc.csv @@ -52,7 +52,7 @@ "dq_remfirst","nuttx/queue.h","","FAR dq_entry_t *","FAR dq_queue_t *" "dq_remlast","nuttx/queue.h","","FAR dq_entry_t *","FAR dq_queue_t *" "ether_ntoa","netinet/ether.h","","FAR char *","FAR const struct ether_addr *" -"execv","unistd.h","","int","FAR const char *","FAR char *const[]|FAR char *const *" +"execv","unistd.h","defined(CONFIG_LIBC_EXECFUNCS)","int","FAR const char *","FAR char *const[]|FAR char *const *" "exit","stdlib.h","","noreturn","int" "fchdir","unistd.h","!defined(CONFIG_DISABLE_ENVIRON)","int","int" "fclose","stdio.h","defined(CONFIG_FILE_STREAM)","int","FAR FILE *"