aboutsummaryrefslogtreecommitdiff
path: root/src/smapc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smapc.c')
-rw-r--r--src/smapc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/smapc.c b/src/smapc.c
index 3beaa63..88ddb0c 100644
--- a/src/smapc.c
+++ b/src/smapc.c
@@ -481,3 +481,3 @@ _command_generator(const char *text, int state)
static char **
-_command_completion(char *cmd, int start, int end)
+_command_completion(const char *cmd, int start, int end)
{
@@ -646,4 +646,3 @@ read_eval_loop(FILE *fp, int interactive)
rl_readline_name = smap_progname;
- rl_attempted_completion_function =
- (CPPFunction*) _command_completion;
+ rl_attempted_completion_function = _command_completion;
read_history(get_history_file_name());

Return to:

Send suggestions and report system problems to the System administrator.