summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-07-12 12:01:54 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-07-12 12:01:54 +0100
commitd6d9378e9b1cc082a51725cfc9901549e4b84727 (patch)
treee1a279d6ef8f2752dd75358fbb4b6cd7b949576a
parent8d3a89b62db7ee14df788f1ea06a8beb1b283471 (diff)
downloadnetsurf-d6d9378e9b1cc082a51725cfc9901549e4b84727.tar.gz
netsurf-d6d9378e9b1cc082a51725cfc9901549e4b84727.tar.bz2
Move global_history_add out of browser.h into global_history_core.h
-rw-r--r--desktop/browser.c5
-rw-r--r--desktop/browser.h3
-rw-r--r--desktop/history_global_core.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index aa7da1f87..949dca061 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -45,10 +45,11 @@
#include "desktop/browser_private.h"
#include "desktop/download.h"
#include "desktop/frames.h"
-#include "desktop/local_history.h"
-#include "desktop/hotlist.h"
#include "desktop/gui.h"
+#include "desktop/history_global_core.h"
+#include "desktop/hotlist.h"
#include "desktop/knockout.h"
+#include "desktop/local_history.h"
#include "utils/nsoption.h"
#include "desktop/scrollbar.h"
#include "desktop/selection.h"
diff --git a/desktop/browser.h b/desktop/browser.h
index 44eac992f..8ffb40bb5 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -348,9 +348,6 @@ void browser_window_debug_dump(struct browser_window *bw, FILE *f);
/* In platform specific hotlist.c. */
void hotlist_visited(struct hlcache_handle *c);
-/* In platform specific global_history.c. */
-void global_history_add(nsurl *url);
-
/* In platform specific theme_install.c. */
#ifdef WITH_THEME_INSTALL
void theme_install_start(struct hlcache_handle *c);
diff --git a/desktop/history_global_core.h b/desktop/history_global_core.h
index 7b8e6823a..c55a23cf9 100644
--- a/desktop/history_global_core.h
+++ b/desktop/history_global_core.h
@@ -28,6 +28,8 @@ bool history_global_initialise(struct tree *tree, const char* folder_icon_name);
unsigned int history_global_get_tree_flags(void);
void history_global_cleanup(void);
+void global_history_add(nsurl *url);
+
bool history_global_export(const char *path);
void history_global_delete_selected(void);
void history_global_delete_all(void);