diff src/input.cc @ 4802:b3f20980be32

[project @ 2004-02-25 05:14:19 by jwe]
author jwe
date Wed, 25 Feb 2004 05:14:19 +0000
parents cba347c642e2
children 80842ad3f85c
line wrap: on
line diff
--- a/src/input.cc
+++ b/src/input.cc
@@ -949,7 +949,7 @@
 static std::string hook_fcn;
 static octave_value user_data;
 
-static void
+static int
 input_event_hook (void)
 {
   if (is_valid_function (hook_fcn))
@@ -965,7 +965,9 @@
       user_data = octave_value ();
 
       command_editor::set_event_hook (0);
-    }      
+    }
+
+  return 0;
 }
 
 DEFUN (input_event_hook, args, ,