Do not declare gets() in strict C11/C17 modes.
The declaration is still included in the default compatibility modes, where __KeepNamespacePure__ is not defined.
This commit is contained in:
parent
245dd0a3f4
commit
34c1564dc4
|
@ -128,7 +128,9 @@ long int ftell(FILE *);
|
|||
size_t fwrite(const void *, size_t, size_t, FILE *);
|
||||
int getc(FILE *);
|
||||
int getchar(void);
|
||||
#if !defined(__KeepNamespacePure__) || __STDC_VERSION__ < 201112L
|
||||
char *gets(char *);
|
||||
#endif
|
||||
void perror(const char *);
|
||||
int printf(const char *, ...);
|
||||
int putc(int, FILE *);
|
||||
|
|
Loading…
Reference in New Issue