summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-10-28 22:25:00 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-10-28 22:25:00 +0000
commit240fdc51873a60759e10d9f02aa77dbef9a60f17 (patch)
tree30e465593eabecfa8e6643554bac07f8aa1eaf9a /desktop
parentdcc5a532bca372766ea797bfc9c83f815924868f (diff)
downloadnetsurf-240fdc51873a60759e10d9f02aa77dbef9a60f17.tar.gz
netsurf-240fdc51873a60759e10d9f02aa77dbef9a60f17.tar.bz2
Constify frag_id param.
svn path=/trunk/netsurf/; revision=13089
Diffstat (limited to 'desktop')
-rw-r--r--desktop/history_core.c2
-rw-r--r--desktop/history_core.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/history_core.c b/desktop/history_core.c
index 11db6b7f9..95d28fb3d 100644
--- a/desktop/history_core.c
+++ b/desktop/history_core.c
@@ -224,7 +224,7 @@ struct history_entry *history_clone_entry(struct history *history,
*/
void history_add(struct history *history, hlcache_handle *content,
- char *frag_id)
+ const char *frag_id)
{
struct history_entry *entry;
char *url;
diff --git a/desktop/history_core.h b/desktop/history_core.h
index 5a75e4a95..76f39a7c7 100644
--- a/desktop/history_core.h
+++ b/desktop/history_core.h
@@ -34,7 +34,7 @@ struct redraw_context;
struct history *history_create(void);
struct history *history_clone(struct history *history);
void history_add(struct history *history, struct hlcache_handle *content,
- char *frag_id);
+ const char *frag_id);
void history_update(struct history *history, struct hlcache_handle *content);
void history_destroy(struct history *history);
void history_back(struct browser_window *bw, struct history *history);