Fixes for -Wold-style-definition

https://bugzilla.gnome.org/show_bug.cgi?id=611692
This commit is contained in:
Benjamin Otte 2010-03-03 10:26:14 +01:00
parent e8f65e8bff
commit 3234c0128b
4 changed files with 4 additions and 4 deletions

View file

@ -1148,7 +1148,7 @@ gst_version (guint * major, guint * minor, guint * micro, guint * nano)
*/ */
gchar * gchar *
gst_version_string () gst_version_string (void)
{ {
guint major, minor, micro, nano; guint major, minor, micro, nano;

View file

@ -432,7 +432,7 @@ plugin_loader_cleanup_child (GstPluginLoader * l)
} }
gboolean gboolean
_gst_plugin_loader_client_run () _gst_plugin_loader_client_run (void)
{ {
GstPluginLoader *l; GstPluginLoader *l;

View file

@ -1256,7 +1256,7 @@ gst_registry_get_feature_list_by_plugin (GstRegistry * registry,
/* Unref and delete the default registry */ /* Unref and delete the default registry */
void void
_priv_gst_registry_cleanup () _priv_gst_registry_cleanup (void)
{ {
GstRegistry *registry; GstRegistry *registry;

View file

@ -942,7 +942,7 @@ print_children_info (GstElement * element)
} }
static void static void
print_blacklist () print_blacklist (void)
{ {
GList *plugins, *cur; GList *plugins, *cur;
gint count = 0; gint count = 0;