blob: 5a064fa1694ab38f0a9cb306f6ecac8791408c11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-src_help.c,v 1.1 2014/04/17 20:27:33 joerg Exp $
--- src/help.c.orig 2001-12-11 11:21:52.000000000 +0000
+++ src/help.c
@@ -22,7 +22,7 @@
void cmd_help(int argc, char **argv)
{
#ifdef HAVE_LIBREADLINE
- Function *func;
+ rl_command_func_t *func;
#endif
int i;
listitem *li;
@@ -35,7 +35,7 @@ void cmd_help(int argc, char **argv)
rl_point=rl_end=0;
func = rl_named_function("possible-completions");
if(func)
- func();
+ func(0, 0);
else {
#endif
for(i=0; cmds[i].cmd; i++)
|