]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[script] Mark plugin interface functions static
authorRay Strode <rstrode@redhat.com>
Thu, 6 Aug 2009 12:59:54 +0000 (08:59 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 6 Aug 2009 13:05:42 +0000 (09:05 -0400)
They should only get accessed via the vtable,
so we don't need to export them directly.

src/plugins/splash/script/plugin.c

index d20c2fef526ee252d55e31753d940fb538624a74..56cf5e5028f53b4db44e14fe7d13c07c6df874e6 100644 (file)
@@ -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)