* lib/mountlist.c: Include unlocked-io.h unconditionally.
* modules/mountlist (Depends-on): Add unlocked-io-internal.
+2021-03-06 Bruno Haible <bruno@clisp.org>
+
+ mountlist: Optimize stdio accesses.
+ * lib/mountlist.c: Include unlocked-io.h unconditionally.
+ * modules/mountlist (Depends-on): Add unlocked-io-internal.
+
2021-03-06 Bruno Haible <bruno@clisp.org>
getusershell: Optimize stdio accesses when possible.
# define MNT_IGNORE(M) 0
#endif
-#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"
/* The results of opendir() in this file are not used with dirfd and fchdir,
therefore save some unnecessary work in fchdir.c. */
fopen-gnu
getline
open
+unlocked-io-internal
stdbool
stdint
strstr-simple