Include update to stdio.h missed in r331936.
In my attempt to limit the commit in r331936 to only the gets_s() commit and not include unrelated patches in my tree, this patch was missed. Reported by: pfg MFC after: 2 weeks X-MFC with: r331936 Differential Revision: https://reviews.freebsd.org/D12785
This commit is contained in:
parent
7ad6003d87
commit
c13559d31e
@ -51,6 +51,11 @@ typedef __size_t size_t;
|
||||
#define _SIZE_T_DECLARED
|
||||
#endif
|
||||
|
||||
#ifndef _RSIZE_T_DEFINED
|
||||
#define _RSIZE_T_DEFINED
|
||||
typedef size_t rsize_t;
|
||||
#endif
|
||||
|
||||
#if __POSIX_VISIBLE >= 200809
|
||||
#ifndef _OFF_T_DECLARED
|
||||
#define _OFF_T_DECLARED
|
||||
@ -265,6 +270,9 @@ 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
|
||||
char *gets_s(char *, rsize_t);
|
||||
#endif
|
||||
void perror(const char *);
|
||||
int printf(const char * __restrict, ...);
|
||||
int putc(int, FILE *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user