aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-02-02 19:45:12 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-02-02 19:45:12 +0000
commitb85ea8097515af5bef659c0abf2340e03183f7e8 (patch)
tree1bb568b633c356f5590b0a372b6ed772b96fc61d /include
parent469026a8a3ed5582a66c47057c4c10dacb398476 (diff)
downloadsrc-b85ea8097515af5bef659c0abf2340e03183f7e8.tar.gz
src-b85ea8097515af5bef659c0abf2340e03183f7e8.zip
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
Notes
Notes: svn path=/head/; revision=357419
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 279160912ba9..e392bd5eb3e2 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -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,