diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-08-11 19:11:43 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-08-11 19:11:43 +0000 |
commit | 268a3593adf36cd9be3135ac84a12abda226b62f (patch) | |
tree | 32a8b00e6c7fd29fb95d426d340b92c107b98b6f | |
parent | 92de6a2a0aa3b35d11276b0834807844b404ba8e (diff) | |
download | samba-268a3593adf36cd9be3135ac84a12abda226b62f.tar.gz samba-268a3593adf36cd9be3135ac84a12abda226b62f.tar.xz samba-268a3593adf36cd9be3135ac84a12abda226b62f.zip |
Apply some const
(This used to be commit 502b45b55d7ab1c32c9dbc3301f025b2eec620a4)
-rw-r--r-- | source3/lib/readline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/readline.c b/source3/lib/readline.c index ceb02ef749..78b99fd7fb 100644 --- a/source3/lib/readline.c +++ b/source3/lib/readline.c @@ -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))) { |