diff options
Diffstat (limited to 'misc/getpass.c')
-rw-r--r-- | misc/getpass.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/getpass.c b/misc/getpass.c index 6937a8e..a68acf4 100644 --- a/misc/getpass.c +++ b/misc/getpass.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2024 Free Software Foundation, Inc. +/* Copyright (C) 1992-2025 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 @@ -83,7 +83,7 @@ getpass (const char *prompt) s = t; /* Tricky, tricky. */ t.c_lflag &= ~(ECHO|ISIG); - tty_changed = (tcsetattr (fileno (in), TCSAFLUSH|TCSASOFT, &t) == 0); + tty_changed = (__tcsetattr (fileno (in), TCSAFLUSH|TCSASOFT, &t) == 0); } else tty_changed = 0; @@ -110,7 +110,7 @@ getpass (const char *prompt) /* Restore the original setting. */ if (tty_changed) - (void) tcsetattr (fileno (in), TCSAFLUSH|TCSASOFT, &s); + (void) __tcsetattr (fileno (in), TCSAFLUSH|TCSASOFT, &s); funlockfile (out); |