summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-07-17 12:41:43 +0200
committerClemens Ladisch <clemens@ladisch.de>2009-07-17 12:41:43 +0200
commit930335668ae9cdb1bc311000c984925dcf1c0a83 (patch)
tree937469a7018a5401830799ab1f9f5c2b40280f29 /src
parent9258e8c85185665d6aa55a62d32a0fb9eafea510 (diff)
conf.c: rename 'node' to 'config'
Just for consistency with the parameter names of all the other functions. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'src')
-rw-r--r--src/conf.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/conf.c b/src/conf.c
index e2381f9b..75bb5ac8 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -3179,13 +3179,13 @@ int snd_config_update_free_global(void)
/**
* \brief Returns an iterator pointing to the first child of a compound configuration node.
- * \param node Handle to the compound configuration node.
+ * \param config Handle to the compound configuration node.
* \return An iterator pointing to the first child.
*/
-snd_config_iterator_t snd_config_iterator_first(const snd_config_t *node)
+snd_config_iterator_t snd_config_iterator_first(const snd_config_t *config)
{
- assert(node->type == SND_CONFIG_TYPE_COMPOUND);
- return node->u.compound.fields.next;
+ assert(config->type == SND_CONFIG_TYPE_COMPOUND);
+ return config->u.compound.fields.next;
}
/**
@@ -3203,13 +3203,13 @@ snd_config_iterator_t snd_config_iterator_next(const snd_config_iterator_t itera
/**
* \brief Returns an iterator pointing past the last child of a compound configuration node.
- * \param node Handle to the compound configuration node.
- * \return An iterator pointing past the last child of \p node.
+ * \param config Handle to the compound configuration node.
+ * \return An iterator pointing past the last child of \p config.
*/
-snd_config_iterator_t snd_config_iterator_end(const snd_config_t *node)
+snd_config_iterator_t snd_config_iterator_end(const snd_config_t *config)
{
- assert(node->type == SND_CONFIG_TYPE_COMPOUND);
- return (const snd_config_iterator_t)&node->u.compound.fields;
+ assert(config->type == SND_CONFIG_TYPE_COMPOUND);
+ return (const snd_config_iterator_t)&config->u.compound.fields;
}
/**