mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
plugins: minor, rename local functions
Prevent name clash with upcoming refactor and any confusion with src/plugin.c functions with the same name. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+2
-2
@@ -320,7 +320,7 @@ static plugin_t plugin = {
|
||||
}
|
||||
};
|
||||
|
||||
PLUGIN_INIT(plugin_init)
|
||||
PLUGIN_INIT(__init)
|
||||
{
|
||||
struct tm tm = { 0 };
|
||||
|
||||
@@ -336,7 +336,7 @@ PLUGIN_INIT(plugin_init)
|
||||
plugin_register(&plugin);
|
||||
}
|
||||
|
||||
PLUGIN_EXIT(plugin_exit)
|
||||
PLUGIN_EXIT(__exit)
|
||||
{
|
||||
uev_timer_stop(&rtc_timer);
|
||||
plugin_unregister(&plugin);
|
||||
|
||||
Reference in New Issue
Block a user