* lib/readutmp.c: Include unlocked-io.h unconditionally.
* modules/readutmp (Depends-on): Add unlocked-io-internal.
+2021-03-06 Bruno Haible <bruno@clisp.org>
+
+ readutmp: Optimize stdio accesses.
+ * lib/readutmp.c: Include unlocked-io.h unconditionally.
+ * modules/readutmp (Depends-on): Add unlocked-io-internal.
+
2021-03-06 Bruno Haible <bruno@clisp.org>
mountlist: Optimize stdio accesses.
#include "xalloc.h"
-#if USE_UNLOCKED_IO
-# include "unlocked-io.h"
-#endif
+/* Each of the FILE streams in this file is only used in a single thread. */
+#include "unlocked-io.h"
#if 8 <= __GNUC__
# pragma GCC diagnostic ignored "-Wsizeof-pointer-memaccess"
stdbool
stdint
fopen-gnu
+unlocked-io-internal
configure.ac:
gl_READUTMP