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. --- test/nsurl.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'test/nsurl.c') diff --git a/test/nsurl.c b/test/nsurl.c index 20774c41f..bd7dc80dc 100644 --- a/test/nsurl.c +++ b/test/nsurl.c @@ -1,3 +1,21 @@ +/* + * Copyright 2011 John Mark Bell + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include #include @@ -5,7 +23,6 @@ #include -#include "desktop/netsurf.h" #include "utils/corestrings.h" #include "utils/log.h" #include "utils/nsurl.h" -- cgit v1.2.3