diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-10-26 12:42:53 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-10-26 12:42:53 +0000 |
commit | 14e282948996f75e87a14ab90f4b3ed54d9d6ad7 (patch) | |
tree | 7f78ad2cc5c9965f6a329c81c025d1c240eb4f87 /monkey/dispatch.h | |
parent | a913af5cf54400b441f3b1fbfc5d508cf85fea43 (diff) | |
download | netsurf-14e282948996f75e87a14ab90f4b3ed54d9d6ad7.tar.gz netsurf-14e282948996f75e87a14ab90f4b3ed54d9d6ad7.tar.bz2 |
remove the die API from the core.
The die() API for abnormal termination does not belong within the core
of netsurf and instead errors are propogated back to the callers.
This is the final part of this change and the API is now only used within
some parts of the frontends
Diffstat (limited to 'monkey/dispatch.h')
-rw-r--r-- | monkey/dispatch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monkey/dispatch.h b/monkey/dispatch.h index fe8f4e2f8..dc6e50a0b 100644 --- a/monkey/dispatch.h +++ b/monkey/dispatch.h @@ -21,7 +21,7 @@ typedef void (*handle_command_fn)(int argc, char **argv); -void monkey_register_handler(const char *cmd, handle_command_fn fn); +nserror monkey_register_handler(const char *cmd, handle_command_fn fn); void monkey_process_command(void); |