From 3114b7c719e74e961766a41b335f50dac14d9e79 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 21 Jul 2001 21:14:05 +0000 Subject: mem and register conditional breakpoints --- mixutils/mixvm_command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mixutils') diff --git a/mixutils/mixvm_command.c b/mixutils/mixvm_command.c index b8bef53..d13e5ac 100644 --- a/mixutils/mixvm_command.c +++ b/mixutils/mixvm_command.c @@ -76,7 +76,7 @@ static const char *mix_commands_[ALL_COMMANDS_NO_] = {NULL}; #ifdef HAVE_LIBREADLINE /* readline functions */ static char * -mixvm_cmd_generator_ (char *text, int state); +mixvm_cmd_generator_ (const char *text, int state); /* Attempt to complete on the contents of TEXT. START and END bound the @@ -95,7 +95,7 @@ mixvm_cmd_completion_ (char *text, int start, int end) to complete. Otherwise it is the name of a file in the current directory. */ if (start == 0) - matches = completion_matches (text, mixvm_cmd_generator_); + matches = rl_completion_matches (text, mixvm_cmd_generator_); return (matches); } @@ -104,7 +104,7 @@ mixvm_cmd_completion_ (char *text, int start, int end) to start from scratch; without any state (i.e. STATE == 0), then we start at the top of the list. */ static char * -mixvm_cmd_generator_ (char *text, int state) +mixvm_cmd_generator_ (const char *text, int state) { static int list_index, len; const char *name; -- cgit v1.2.3