1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

rename getsmbpass -> rep_getpass and provide the function prototype

metze
(This used to be commit 96820f8d8f)
This commit is contained in:
Stefan Metzmacher 2007-10-15 15:42:13 +02:00
parent d5712f071a
commit c08cd08acc
2 changed files with 3 additions and 2 deletions

View 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;

View 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