1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[html] const attr in set_fragment_identifier

This commit is contained in:
Witold Filipczyk 2022-02-18 15:19:41 +01:00
parent ca7eb0da34
commit f3e0f4f75e
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ put_chrs(struct html_context *html_context, const char *start, int len)
void
set_fragment_identifier(struct html_context *html_context,
char *attr_name, char *attr)
char *attr_name, const char *attr)
{
char *id_attr;

View File

@ -190,7 +190,7 @@ void done_html_parser_state(struct html_context *html_context, void *state);
int get_bgcolor(struct html_context *html_context, char *a, color_T *rgb);
void set_fragment_identifier(struct html_context *html_context,
char *attr_name, char *attr);
char *attr_name, const char *attr);
void add_fragment_identifier(struct html_context *html_context,
struct part *, char *attr);