From dc711d6db32bedec06db3617a16d73aa1a1da514 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Tue, 3 Apr 2018 20:59:46 +0000 Subject: [PATCH] Remove redundant check. Reported by: kib@ MFC after: 2 weeks X-MFC with: r331936 Differential Revision: https://reviews.freebsd.org/D12785 --- include/stdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdio.h b/include/stdio.h index d6986e154273..e94583097a26 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -270,7 +270,7 @@ size_t fwrite(const void * __restrict, size_t, size_t, FILE * __restrict); int getc(FILE *); int getchar(void); char *gets(char *); -#if defined(__EXT1_VISIBLE) && __EXT1_VISIBLE == 1 +#if __EXT1_VISIBLE char *gets_s(char *, rsize_t); #endif void perror(const char *);