diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2018-08-16 20:05:26 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2018-08-16 20:05:26 +0200 |
| commit | e9fdf67b59a9ed944fe6f044bacbe66706855fc7 (patch) | |
| tree | 38e09d4ce5751db49c4979787bdb076345f115ce /src | |
| parent | 1ccd9dbd2bd4d9a7cb2641b099bb12717d49363c (diff) | |
| download | cc4group-e9fdf67b59a9ed944fe6f044bacbe66706855fc7.tar.gz cc4group-e9fdf67b59a9ed944fe6f044bacbe66706855fc7.zip | |
Rename some functions
Diffstat (limited to 'src')
| -rw-r--r-- | src/cc4group.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cc4group.c b/src/cc4group.c index 043efda..89593b4 100644 --- a/src/cc4group.c +++ b/src/cc4group.c @@ -572,14 +572,14 @@ static void cc4group_init(CC4Group* const this) this->error.lastFormattedMessage = NULL; } -static void cc4group_setRecursiveMaker(const C4GroupEntryData* groupEntry, const char* const maker) +static void cc4group_setMakerRecursively(const C4GroupEntryData* groupEntry, const char* const maker) { ForeachGroupEntry(groupEntry->children) { if(entry->value.core.Directory) { C4GroupHeader_setMaker(entry->value.header, maker); - cc4group_setRecursiveMaker(&entry->value, maker); + cc4group_setMakerRecursively(&entry->value, maker); } } } @@ -613,19 +613,19 @@ static bool cc4group_setMaker(CC4Group* const this, const char* const maker, con C4GroupHeader_setMaker(entry->header, maker); if(recursive) { - cc4group_setRecursiveMaker(entry, maker); + cc4group_setMakerRecursively(entry, maker); } return true; } -static void cc4group_setRecursiveOfficial(const C4GroupEntryData* groupEntry, bool const official) +static void cc4group_setOfficialRecursively(const C4GroupEntryData* groupEntry, bool const official) { ForeachGroupEntry(groupEntry->children) { if(entry->value.core.Directory) { C4GroupHeader_setOfficial(entry->value.header, official); - cc4group_setRecursiveOfficial(&entry->value, official); + cc4group_setOfficialRecursively(&entry->value, official); } } } @@ -658,12 +658,12 @@ static bool cc4group_setOfficial(CC4Group* const this, bool const official, cons C4GroupHeader_setOfficial(entry->header, official); if(recursive) { - cc4group_setRecursiveOfficial(entry, official); + cc4group_setOfficialRecursively(entry, official); } return true; } -static void cc4group_setRecursiveCreation(const C4GroupEntryData* groupEntry, int32_t const creation) +static void cc4group_setCreationRecursively(const C4GroupEntryData* groupEntry, int32_t const creation) { ForeachGroupEntry(groupEntry->children) { @@ -671,7 +671,7 @@ static void cc4group_setRecursiveCreation(const C4GroupEntryData* groupEntry, in if(entry->value.core.Directory) { C4GroupHeader_setCreation(entry->value.header, creation); - cc4group_setRecursiveCreation(&entry->value, creation); + cc4group_setCreationRecursively(&entry->value, creation); } } } @@ -703,7 +703,7 @@ static bool cc4group_setCreation(CC4Group* const this, int32_t const creation, c C4GroupHeader_setCreation(entry->header, creation); if(recursive) { - cc4group_setRecursiveCreation(entry, creation); + cc4group_setCreationRecursively(entry, creation); } } return true; |
