mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 12:28:12 +02:00
[space-flares] Mark plugin interface functions static
They should only get accessed via the vtable, so we don't need to export them directly.
This commit is contained in:
parent
e6c57c98c2
commit
f581814099
1 changed files with 13 additions and 12 deletions
|
|
@ -207,7 +207,7 @@ static void detach_from_event_loop (ply_boot_splash_plugin_t *plugin);
|
|||
|
||||
|
||||
|
||||
ply_boot_splash_plugin_t *
|
||||
static ply_boot_splash_plugin_t *
|
||||
create_plugin (ply_key_file_t *key_file)
|
||||
{
|
||||
ply_boot_splash_plugin_t *plugin;
|
||||
|
|
@ -272,7 +272,7 @@ create_plugin (ply_key_file_t *key_file)
|
|||
return plugin;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
destroy_plugin (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
if (plugin == NULL)
|
||||
|
|
@ -1181,14 +1181,14 @@ remove_handlers (ply_boot_splash_plugin_t *plugin)
|
|||
ply_window_set_erase_handler (plugin->window, NULL, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
add_window (ply_boot_splash_plugin_t *plugin,
|
||||
ply_window_t *window)
|
||||
{
|
||||
plugin->window = window;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
remove_window (ply_boot_splash_plugin_t *plugin,
|
||||
ply_window_t *window)
|
||||
{
|
||||
|
|
@ -1403,7 +1403,7 @@ setup_scene (ply_boot_splash_plugin_t *plugin)
|
|||
flare_update(sprite, i);
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
show_splash_screen (ply_boot_splash_plugin_t *plugin,
|
||||
ply_event_loop_t *loop,
|
||||
ply_buffer_t *boot_buffer,
|
||||
|
|
@ -1482,14 +1482,14 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
|
|||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
update_status (ply_boot_splash_plugin_t *plugin,
|
||||
const char *status)
|
||||
{
|
||||
assert (plugin != NULL);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
hide_splash_screen (ply_boot_splash_plugin_t *plugin,
|
||||
ply_event_loop_t *loop)
|
||||
{
|
||||
|
|
@ -1579,13 +1579,13 @@ show_password_prompt (ply_boot_splash_plugin_t *plugin,
|
|||
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
on_root_mounted (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
plugin->root_is_mounted = true;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
become_idle (ply_boot_splash_plugin_t *plugin,
|
||||
ply_trigger_t *idle_trigger)
|
||||
{
|
||||
|
|
@ -1593,7 +1593,8 @@ become_idle (ply_boot_splash_plugin_t *plugin,
|
|||
ply_trigger_pull (idle_trigger, NULL);
|
||||
}
|
||||
|
||||
void display_normal (ply_boot_splash_plugin_t *plugin)
|
||||
static void
|
||||
display_normal (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
if (plugin->state != PLY_BOOT_SPLASH_DISPLAY_NORMAL)
|
||||
{
|
||||
|
|
@ -1603,7 +1604,7 @@ void display_normal (ply_boot_splash_plugin_t *plugin)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
display_password (ply_boot_splash_plugin_t *plugin,
|
||||
const char *prompt,
|
||||
int bullets)
|
||||
|
|
@ -1617,7 +1618,7 @@ display_password (ply_boot_splash_plugin_t *plugin,
|
|||
ply_entry_set_bullet_count (plugin->entry, bullets);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
display_question (ply_boot_splash_plugin_t *plugin,
|
||||
const char *prompt,
|
||||
const char *entry_text)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue