aboutsummaryrefslogtreecommitdiff
path: root/unit/src/Unit.c
diff options
context:
space:
mode:
authorMikhail Romanko <me@blankhex.com>2025-09-06 23:40:32 +0300
committerMikhail Romanko <me@blankhex.com>2025-09-06 23:40:32 +0300
commit8d18e8020cba60c0b600c69c709ef1a63833a178 (patch)
treec8cb8075425a8e32839c4f1f7f168e0cb231c300 /unit/src/Unit.c
parent4196e8f4c9148d0f0ff6572d5cc0a814150d72eb (diff)
downloadbhlib-8d18e8020cba60c0b600c69c709ef1a63833a178.tar.gz
Convert static func naming to same style
Previously, some modules used BH_<Module> prefix in the names of static functions (some used just <Module> prefix). Now every static function should start from lowercase.
Diffstat (limited to 'unit/src/Unit.c')
-rw-r--r--unit/src/Unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit/src/Unit.c b/unit/src/Unit.c
index 654839d..dd7123a 100644
--- a/unit/src/Unit.c
+++ b/unit/src/Unit.c
@@ -13,7 +13,7 @@ typedef struct BH_Unit
static BH_Unit *root = NULL;
-static void BH_UnitCleanup(void)
+static void cleanup(void)
{
BH_Unit *current;
@@ -75,6 +75,6 @@ int BH_UnitRun(void)
current = current->next;
}
- BH_UnitCleanup();
+ cleanup();
return result;
}