libc: provide fputc_unlocked
Among the same justification as the other stdio _unlocked; in addition to an inline version in <stdio.h>, we must provide a function in libc as well for the functionality. This fixes the lang/gcc* builds, which want to use the symbol from libc. PR: 243810 Reported by: antoine, swills, Michael <michael.adm gmail com> X-MFC-With: r357284
This commit is contained in:
@@ -348,6 +348,7 @@ int feof_unlocked(FILE *);
|
||||
int ferror_unlocked(FILE *);
|
||||
int fflush_unlocked(FILE *);
|
||||
int fileno_unlocked(FILE *);
|
||||
int fputc_unlocked(int, FILE *);
|
||||
int fputs_unlocked(const char * __restrict, FILE * __restrict);
|
||||
size_t fread_unlocked(void * __restrict, size_t, size_t, FILE * __restrict);
|
||||
size_t fwrite_unlocked(const void * __restrict, size_t, size_t,
|
||||
|
||||
Reference in New Issue
Block a user