From e00fb7bd2d8eed482d6d9eac1d7fec09e079a25b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 29 Mar 2010 20:03:44 +0000 Subject: second pass at startup refactor removing the gui_init callback svn path=/trunk/netsurf/; revision=10205 --- desktop/netsurf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop/netsurf.h') diff --git a/desktop/netsurf.h b/desktop/netsurf.h index 33733fa40..10c1e00e3 100644 --- a/desktop/netsurf.h +++ b/desktop/netsurf.h @@ -20,6 +20,7 @@ #define _NETSURF_DESKTOP_NETSURF_H_ #include +#include "utils/errors.h" extern bool netsurf_quit; extern bool verbose_log; @@ -27,7 +28,7 @@ extern const char * const netsurf_version; extern const int netsurf_version_major; extern const int netsurf_version_minor; -extern void netsurf_init(int argc, char** argv); +nserror netsurf_init(int *argc, char ***argv, const char *options, const char *messages); extern void netsurf_exit(void); extern int netsurf_main_loop(void); -- cgit v1.2.3