diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-28 22:25:00 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-28 22:25:00 +0000 |
commit | 240fdc51873a60759e10d9f02aa77dbef9a60f17 (patch) | |
tree | 30e465593eabecfa8e6643554bac07f8aa1eaf9a /desktop | |
parent | dcc5a532bca372766ea797bfc9c83f815924868f (diff) | |
download | netsurf-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.c | 2 | ||||
-rw-r--r-- | 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); |