1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Apply some const

(This used to be commit 502b45b55d)
This commit is contained in:
Volker Lendecke 2003-08-11 19:11:43 +00:00
parent 92de6a2a0a
commit 268a3593ad

View File

@ -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))) {