changeset 271:64b486b19ce4

[project @ 1994-01-06 18:34:12 by jwe]
author jwe
date Thu, 06 Jan 1994 18:34:12 +0000
parents 36586e60f307
children 7ec58832918f
files src/input.cc
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/input.cc
+++ b/src/input.cc
@@ -39,6 +39,8 @@
 #include "readline/readline.h"
 #include "readline/history.h"
 
+extern void free_undo_list ();
+
 extern char *xmalloc ();
 
 /*
@@ -409,7 +411,7 @@
   rl_readline_name = "Octave";
 
 // Tell the completer that we want to try first.
-  rl_attempted_completion_function = (Function *) command_completer;
+  rl_attempted_completion_function = (CPPFunction *) command_completer;
 
 // Bind operate-and-get-next.
   rl_add_defun ("operate-and-get-next",