diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/replace/getpass.c | 2 | ||||
-rw-r--r-- | source4/lib/replace/system/passwd.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/replace/getpass.c b/source4/lib/replace/getpass.c index f4819e9df5..1d13461573 100644 --- a/source4/lib/replace/getpass.c +++ b/source4/lib/replace/getpass.c @@ -138,7 +138,7 @@ static void gotintr_sig(void) in_fd = -1; } -char *getsmbpass(const char *prompt) +char *rep_getpass(const char *prompt) { FILE *in, *out; int echo_off; diff --git a/source4/lib/replace/system/passwd.h b/source4/lib/replace/system/passwd.h index 4e858fc89c..53d35e7b87 100644 --- a/source4/lib/replace/system/passwd.h +++ b/source4/lib/replace/system/passwd.h @@ -65,7 +65,8 @@ #endif #ifdef REPLACE_GETPASS -#define getpass(prompt) getsmbpass((prompt)) +#define getpass(prompt) rep_getpass(prompt) +char *rep_getpass(const char *prompt); #endif #ifndef NGROUPS_MAX |