X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetpass.c;h=9423eeec07e383b9521d1a951418f8c9f3b7d8bb;hb=16a0854acae4ee4124c440b63b795859e33c92c7;hp=08edd28d81ae54c2fd59dee6578a4b71b5eb9691;hpb=4f4a05dccfac06a6830084333369808b423d53ba;p=gnulib.git diff --git a/lib/getpass.c b/lib/getpass.c index 08edd28d8..9423eeec0 100644 --- a/lib/getpass.c +++ b/lib/getpass.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,93,94,95,96,97,98,99,2000 Free Software Foundation, Inc. +/* Copyright (C) 1992,93,94,95,96,97,98,99,2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -24,6 +24,7 @@ #include #include #include "getline.h" +#include "unlocked-io.h" /* It is desirable to use this bit on systems that have it. The only bit of terminal state we want to twiddle is echoing, which is @@ -35,8 +36,7 @@ #endif char * -getpass (prompt) - const char *prompt; +getpass (const char *prompt) { FILE *in, *out; struct termios s, t;