From 02bbaa3e8855cc632dfca42a8bf06a59a3cecf2a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 13 Oct 2014 15:08:16 +0100 Subject: 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. --- desktop/netsurf.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'desktop/netsurf.h') 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 + * Copyright 2014 Vincent Sanders * * 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 #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 -- cgit v1.2.3