libc/libc.csv: Fix signature of getpass

Add missing parameter type to getpass signature,
and add missing const qualifier to the return value.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2024-11-13 10:55:07 +08:00
committed by archer
parent 35240d77fa
commit 064b94bb6d
+1 -1
View File
@@ -109,7 +109,7 @@
"getoptindp","unistd.h","","FAR int *"
"getoptoptp","unistd.h","","FAR int *"
"getpriority","sys/resource.h","","int","int","id_t"
"getpass","unistd.h","","FAR const char *"
"getpass","unistd.h","","FAR const char *","FAR char *"
"getpwnam_r","pwd.h","","int","FAR const char *","FAR struct passwd *","FAR char *","size_t","FAR struct passwd **"
"getpwuid_r","pwd.h","","int","uid_t","FAR struct passwd *","FAR char *","size_t","FAR struct passwd **"
"getrandom","sys/random.h","!defined(CONFIG_BUILD_KERNEL)","ssize_t","FAR void *","size_t","unsigned int"
1 __assert assert.h void FAR const char * int FAR const char *
109 getoptindp unistd.h FAR int *
110 getoptoptp unistd.h FAR int *
111 getpriority sys/resource.h int int id_t
112 getpass unistd.h FAR const char * FAR char *
113 getpwnam_r pwd.h int FAR const char * FAR struct passwd * FAR char *
114 getpwuid_r pwd.h int uid_t FAR struct passwd * FAR char *
115 getrandom sys/random.h !defined(CONFIG_BUILD_KERNEL) ssize_t FAR void * size_t unsigned int