mntent: Use __putc_unlocked instead of fputc_unlocked
commiteeaa19f75e52d2d48074ae0c423f2311d67c42c6
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 8 Jan 2021 15:31:25 +0000 (8 21:01 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 8 Jan 2021 15:32:12 +0000 (8 21:02 +0530)
treeda7e46472c61a4b5866b5a08b544e10b3ef91a86
parent2f056e8a5dd4dc0f075413f931e82cede37d1057
mntent: Use __putc_unlocked instead of fputc_unlocked

__putc_unlocked is guaranteed to be inlined all the time as opposed to
fputc_unlocked, which does not get inlined when glibc is built with
-Os.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
misc/mntent_r.c