Constify frag_id param.

svn path=/trunk/netsurf/; revision=13089
This commit is contained in:
Michael Drake 2011-10-28 22:25:00 +00:00
parent dcc5a532bc
commit 240fdc5187
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);