diff options
author | Elliott Hughes <enh@google.com> | 2022-03-31 16:30:43 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-03-31 16:30:43 +0000 |
commit | 6bdefa6ca2bdb3d5da8bde6478dc443ad263146d (patch) | |
tree | b93871ee8be9069bd76a795f25778443aaae0d4a | |
parent | df41909cf64f858a8f4eb17d8be67611e2fae276 (diff) | |
parent | 1063039d193080ebd9c3a934ed6467543119a898 (diff) | |
download | bionic-6bdefa6ca2bdb3d5da8bde6478dc443ad263146d.tar.gz |
Merge "C11 removed gets()."
-rw-r--r-- | tests/headers/posix/stdio_h.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/headers/posix/stdio_h.c b/tests/headers/posix/stdio_h.c index cbeb0bc13..57be0a0c2 100644 --- a/tests/headers/posix/stdio_h.c +++ b/tests/headers/posix/stdio_h.c @@ -110,7 +110,8 @@ static void stdio_h() { FUNCTION(getchar_unlocked, int (*f)(void)); FUNCTION(getdelim, ssize_t (*f)(char**, size_t*, int, FILE*)); FUNCTION(getline, ssize_t (*f)(char**, size_t*, FILE*)); - FUNCTION(gets, char* (*f)(char*)); + // gets() was removed in C11. + // FUNCTION(gets, char* (*f)(char*)); FUNCTION(open_memstream, FILE* (*f)(char**, size_t*)); FUNCTION(pclose, int (*f)(FILE*)); FUNCTION(perror, void (*f)(const char*)); |