From c08cd08acc74db1f7b5620ad346131a9d77b0a08 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 15 Oct 2007 15:42:13 +0200 Subject: rename getsmbpass -> rep_getpass and provide the function prototype metze (This used to be commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e) --- source3/lib/replace/getpass.c | 2 +- source3/lib/replace/system/passwd.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/replace/getpass.c b/source3/lib/replace/getpass.c index f4819e9df5..1d13461573 100644 --- a/source3/lib/replace/getpass.c +++ b/source3/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/source3/lib/replace/system/passwd.h b/source3/lib/replace/system/passwd.h index 4e858fc89c..53d35e7b87 100644 --- a/source3/lib/replace/system/passwd.h +++ b/source3/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 -- cgit