mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[xbel] const
This commit is contained in:
parent
36e9d34d32
commit
0a11f13fd0
@ -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 struct tree_node *new_node(struct tree_node *parent);
|
||||||
static void free_node(struct tree_node *node);
|
static void free_node(struct tree_node *node);
|
||||||
static void free_xbeltree(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,
|
static char *get_attribute_value(struct tree_node *node,
|
||||||
char *name);
|
const char *name);
|
||||||
|
|
||||||
|
|
||||||
struct read_bookmarks_xbel {
|
struct read_bookmarks_xbel {
|
||||||
@ -471,7 +471,7 @@ free_xbeltree(struct tree_node *node)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct tree_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;
|
struct tree_node *ret;
|
||||||
|
|
||||||
@ -490,7 +490,7 @@ get_child(struct tree_node *node, char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
get_attribute_value(struct tree_node *node, char *name)
|
get_attribute_value(struct tree_node *node, const char *name)
|
||||||
{
|
{
|
||||||
struct attributes *attribute;
|
struct attributes *attribute;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user