summaryrefslogtreecommitdiff
path: root/plugins/yaml/scalar.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-12-21 10:23:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-12-21 10:23:45 (GMT)
commitdb0404d4e6836ae05eb344a6d7f087f0a299f2a9 (patch)
tree9f025abbe6e501dfb701244ea3e2d41eff3efff5 /plugins/yaml/scalar.c
parent0a759fb5d8935a19c58eb7c8fb21d1f261d4a2d2 (diff)
Adopted new prototypes for searching Yaml nodes.
Diffstat (limited to 'plugins/yaml/scalar.c')
-rw-r--r--plugins/yaml/scalar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/yaml/scalar.c b/plugins/yaml/scalar.c
index fe54be9..1dd5989 100644
--- a/plugins/yaml/scalar.c
+++ b/plugins/yaml/scalar.c
@@ -63,7 +63,7 @@ static void g_yaml_scalar_dispose(GYamlScalar *);
static void g_yaml_scalar_finalize(GYamlScalar *);
/* Recherche les noeuds correspondant à un chemin. */
-static void g_yaml_scalar_find_by_path(GYamlScalar *, const char *, bool, GYamlNode ***, size_t *);
+static void g_yaml_scalar_find_by_path(const GYamlScalar *, const char *, bool, GYamlNode ***, size_t *);
@@ -289,7 +289,7 @@ GYamlCollection *g_yaml_scalar_get_collection(const GYamlScalar *node)
* *
******************************************************************************/
-static void g_yaml_scalar_find_by_path(GYamlScalar *node, const char *path, bool prepare, GYamlNode ***nodes, size_t *count)
+static void g_yaml_scalar_find_by_path(const GYamlScalar *node, const char *path, bool prepare, GYamlNode ***nodes, size_t *count)
{
GYamlLine *line; /* Ligne Yaml liée au noeud */
const char *key; /* Clef associée au noeud */