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:
parent
d5712f071a
commit
c08cd08acc
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user