mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
parent
92de6a2a0a
commit
268a3593ad
@ -51,7 +51,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
static char *smb_readline_replacement(char *prompt, void (*callback)(void),
|
||||
char **(completion_fn)(char *text, int start, int end))
|
||||
char **(completion_fn)(const char *text, int start, int end))
|
||||
{
|
||||
fd_set fds;
|
||||
static pstring line;
|
||||
@ -83,7 +83,7 @@ static char *smb_readline_replacement(char *prompt, void (*callback)(void),
|
||||
****************************************************************************/
|
||||
|
||||
char *smb_readline(char *prompt, void (*callback)(void),
|
||||
char **(completion_fn)(char *text, int start, int end))
|
||||
char **(completion_fn)(const char *text, int start, int end))
|
||||
{
|
||||
#if HAVE_LIBREADLINE
|
||||
if (isatty(x_fileno(x_stdin))) {
|
||||
|
Loading…
Reference in New Issue
Block a user