summaryrefslogtreecommitdiff
path: root/desktop/netsurf.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/netsurf.h')
-rw-r--r--desktop/netsurf.h3
1 files changed, 2 insertions, 1 deletions
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 <stdbool.h>
+#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);