1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[xbel] const

This commit is contained in:
Witold Filipczyk 2022-01-30 10:44:29 +01:00
parent 36e9d34d32
commit 0a11f13fd0

View File

@ -50,9 +50,9 @@ static void on_text(void *data, const XML_Char *text, int len);
static struct tree_node *new_node(struct tree_node *parent);
static void free_node(struct tree_node *node);
static void free_xbeltree(struct tree_node *node);
static struct tree_node *get_child(struct tree_node *node, char *name);
static struct tree_node *get_child(struct tree_node *node, const char *name);
static char *get_attribute_value(struct tree_node *node,
char *name);
const char *name);
struct read_bookmarks_xbel {
@ -471,7 +471,7 @@ free_xbeltree(struct tree_node *node)
}
static struct tree_node *
get_child(struct tree_node *node, char *name)
get_child(struct tree_node *node, const char *name)
{
struct tree_node *ret;
@ -490,7 +490,7 @@ get_child(struct tree_node *node, char *name)
}
static char *
get_attribute_value(struct tree_node *node, char *name)
get_attribute_value(struct tree_node *node, const char *name)
{
struct attributes *attribute;