From 240fdc51873a60759e10d9f02aa77dbef9a60f17 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 28 Oct 2011 22:25:00 +0000 Subject: Constify frag_id param. svn path=/trunk/netsurf/; revision=13089 --- desktop/history_core.c | 2 +- desktop/history_core.h | 2 +- 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); -- cgit v1.2.3