mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 08:58:05 +02:00
[script] 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
c4dce3a16d
commit
e6c57c98c2
1 changed files with 2 additions and 4 deletions
|
|
@ -90,15 +90,13 @@ struct _ply_boot_splash_plugin
|
|||
uint32_t is_animating : 1;
|
||||
};
|
||||
|
||||
void destroy_plugin (ply_boot_splash_plugin_t *plugin);
|
||||
static void add_handlers (ply_boot_splash_plugin_t *plugin);
|
||||
static void remove_handlers (ply_boot_splash_plugin_t *plugin);
|
||||
static void detach_from_event_loop (ply_boot_splash_plugin_t *plugin);
|
||||
static void stop_animation (ply_boot_splash_plugin_t *plugin);
|
||||
ply_boot_splash_plugin_t *create_plugin (ply_key_file_t *key_file);
|
||||
ply_boot_splash_plugin_interface_t *ply_boot_splash_plugin_get_interface (void);
|
||||
|
||||
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;
|
||||
|
|
@ -110,7 +108,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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue