mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +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;
|
in_fd = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *getsmbpass(const char *prompt)
|
char *rep_getpass(const char *prompt)
|
||||||
{
|
{
|
||||||
FILE *in, *out;
|
FILE *in, *out;
|
||||||
int echo_off;
|
int echo_off;
|
||||||
|
@ -65,7 +65,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef REPLACE_GETPASS
|
#ifdef REPLACE_GETPASS
|
||||||
#define getpass(prompt) getsmbpass((prompt))
|
#define getpass(prompt) rep_getpass(prompt)
|
||||||
|
char *rep_getpass(const char *prompt);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NGROUPS_MAX
|
#ifndef NGROUPS_MAX
|
||||||
|
Loading…
Reference in New Issue
Block a user