git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e84cde
)
Some versions of readline don't have rl_completion_func_t. )-:
author
Tim Potter
<tpot@samba.org>
Mon, 7 May 2001 02:03:32 +0000
(
02:03
+0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 7 May 2001 02:03:32 +0000
(
02:03
+0000)
Spotted by http://build.samba.org/
(This used to be commit
da5a0f5c5b0917148fb6b668d4316aa4924708a1
)
source3/lib/readline.c
patch
|
blob
|
history
diff --git
a/source3/lib/readline.c
b/source3/lib/readline.c
index a524e1a7f04b9db7071c11fee9c42ce030cb700e..75a38c68521f9c79e1763275824f79032b735f56 100644
(file)
--- a/
source3/lib/readline.c
+++ b/
source3/lib/readline.c
@@
-49,8
+49,7
@@
char *smb_readline(char *prompt, void (*callback)(void),
char *ret;
#if HAVE_LIBREADLINE
if (completion_fn) {
- rl_attempted_completion_function =
- (rl_completion_func_t *)completion_fn;
+ rl_attempted_completion_function = completion_fn;
}
if (callback) rl_event_hook = (Function *)callback;