summaryrefslogtreecommitdiff
path: root/common/cyclic.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2024-10-03 23:27:56 +0200
committerStefan Roese <[email protected]>2024-10-23 06:52:38 +0200
commit307449de9058657eef544043013e8655468b3032 (patch)
tree38875c0eb27743a97885b917bafe1e617a7c1a58 /common/cyclic.c
parente3bc477e8038195b54bf50e7915b111e9c357cf0 (diff)
cyclic: make cyclic_run static
The only caller left is schedule(); everybody outside cyclic.c now calls or references schedule(). Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'common/cyclic.c')
-rw-r--r--common/cyclic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cyclic.c b/common/cyclic.c
index 38d815bec35..196797fd61e 100644
--- a/common/cyclic.c
+++ b/common/cyclic.c
@@ -45,7 +45,7 @@ void cyclic_unregister(struct cyclic_info *cyclic)
hlist_del(&cyclic->list);
}
-void cyclic_run(void)
+static void cyclic_run(void)
{
struct cyclic_info *cyclic;
struct hlist_node *tmp;