summaryrefslogtreecommitdiff
path: root/desktop/netsurf.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-13 15:08:16 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-13 15:08:16 +0100
commit02bbaa3e8855cc632dfca42a8bf06a59a3cecf2a (patch)
tree2b6c8dbb2469cb590f1328769def03928eeea2ba /desktop/netsurf.h
parentfa8d6900051cdbe4d2bc5e4b0b33d6fb2720f5aa (diff)
downloadnetsurf-02bbaa3e8855cc632dfca42a8bf06a59a3cecf2a.tar.gz
netsurf-02bbaa3e8855cc632dfca42a8bf06a59a3cecf2a.tar.bz2
split version info into its own header and remove unnecessary nesurf.h includes
The netsurf.h header should *only* contain the registration, core initialisation and finalisation methods. Version information is best placed in its own header. Also remove any unneeded inclusion of this header limiting it to solely the places the relevant API is required.
Diffstat (limited to 'desktop/netsurf.h')
-rw-r--r--desktop/netsurf.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/desktop/netsurf.h b/desktop/netsurf.h
index ff098f437..45a445747 100644
--- a/desktop/netsurf.h
+++ b/desktop/netsurf.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net>
+ * Copyright 2014 Vincent Sanders <vince@netsurf-browser.org>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
@@ -19,13 +19,8 @@
#ifndef _NETSURF_DESKTOP_NETSURF_H_
#define _NETSURF_DESKTOP_NETSURF_H_
-#include <stdbool.h>
#include "utils/errors.h"
-extern const char * const netsurf_version;
-extern const int netsurf_version_major;
-extern const int netsurf_version_minor;
-
struct netsurf_table;
/**
@@ -49,5 +44,4 @@ nserror netsurf_init(const char *messages, const char *store_path);
*/
extern void netsurf_exit(void);
-
#endif