Mercurial > hg > octave-lyh
diff libcruft/misc/lo-error.cc @ 227:1a48a1b91489
[project @ 1993-11-15 10:10:35 by jwe]
author | jwe |
---|---|
date | Mon, 15 Nov 1993 10:11:59 +0000 |
parents | a592507b3bad |
children | 780cbbc57b7c |
line wrap: on
line diff
--- a/libcruft/misc/lo-error.cc +++ b/libcruft/misc/lo-error.cc @@ -29,12 +29,8 @@ #include <stdlib.h> #include <stdarg.h> -#include "liboctave-error.h" +#include "lo-error.h" -static -liboctave_error_handler default_liboctave_error_handler = liboctave_fatal; - -static liboctave_error_handler current_liboctave_error_handler = liboctave_fatal; static void @@ -54,7 +50,7 @@ if (f) current_liboctave_error_handler = f; else - current_liboctave_error_handler = default_liboctave_error_handler; + current_liboctave_error_handler = liboctave_fatal; } void