src/model.c: sanitize style

This commit is contained in:
Adrien Bourmault 2024-03-30 22:01:00 +02:00
parent 14e630cb35
commit 31d4e575df
Signed by: neox
GPG Key ID: 95F65F55F682A17A
1 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ struct model_t *knownModels = NULL;
* @param hashTable The hash table to populate.
* @param currentPath The path to the current node.
*/
void model_populate_hashtable(xmlNode *node,
void model_populate_hashtable (xmlNode *node,
xmlHashTablePtr hashTable,
char *currentPath)
{
@ -84,7 +84,7 @@ void model_populate_hashtable(xmlNode *node,
* @param path The path to the tag, with '/' as the delimiter.
* @return The content of the tag at the end of the path, or NULL if not found.
*/
char* model_find_node_by_path(xmlNode *node, const char *path)
char* model_find_node_by_path (xmlNode *node, const char *path)
{
return (xmlNodePtr)xmlHashLookup(hashTable, (const xmlChar *)path);
}
@ -97,7 +97,7 @@ char* model_find_node_by_path(xmlNode *node, const char *path)
* @param newContent The new content to set for the node.
* @return 1 if the node was found and modified, 0 otherwise.
*/
int model_modify_node(xmlHashTablePtr hashTable,
int model_modify_node (xmlHashTablePtr hashTable,
const char *path,
const char *newContent)
{