rename getsmbpass -> rep_getpass and provide the function prototype
authorStefan Metzmacher <metze@samba.org>
Mon, 15 Oct 2007 13:42:13 +0000 (15:42 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 15 Oct 2007 13:42:13 +0000 (15:42 +0200)
metze
(This used to be commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e)

source3/lib/replace/getpass.c
source3/lib/replace/system/passwd.h

index f4819e9df508700a1b98bf4441ac05e3db3e8663..1d134615738e34a97b1910302d85e94d94769354 100644 (file)
@@ -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;
index 4e858fc89c7a3aafbd6f86eb78104b23cdbde5d7..53d35e7b87e6c9de2eef3bb62d5dec4d24fc362b 100644 (file)
@@ -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