summaryrefslogtreecommitdiff
path: root/lib/getpass.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-10-18 05:06:47 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-10-18 05:06:47 +0000
commit0581f17dca593a7d17ec1ada37c94f92b414eb74 (patch)
treec082edd301f9e540925277b6043eb310a565be00 /lib/getpass.c
parent3ae9ce3622f2b4b42692e4d9418a599380061ce9 (diff)
downloadcoreutils-0581f17dca593a7d17ec1ada37c94f92b414eb74.tar.xz
Sync from gnulib.
Diffstat (limited to 'lib/getpass.c')
-rw-r--r--lib/getpass.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/getpass.c b/lib/getpass.c
index bc8eb4498..78f21e019 100644
--- a/lib/getpass.c
+++ b/lib/getpass.c
@@ -57,6 +57,17 @@
# define funlockfile(s) _IO_funlockfile (s)
#elif USE_UNLOCKED_IO
# include "unlocked-io.h"
+#else
+# undef fflush_unlocked
+# define fflush_unlocked(x) fflush (x)
+# undef flockfile
+# define flockfile(x) ((void) 0)
+# undef funlockfile
+# define funlockfile(x) ((void) 0)
+# undef fputs_unlocked
+# define fputs_unlocked(str,stream) fputs (str, stream)
+# undef putc_unlocked
+# define putc_unlocked(c,stream) putc (c, stream)
#endif
#if _LIBC