Fix old-style C function declarations

ges-uri-asset.c: In function ‘create_discoverer’:
ges-uri-asset.c:53:1: error: old-style function definition [-Werror=old-style-definition]
   53 | create_discoverer ()
      | ^~~~~~~~~~~~~~~~~
ges-uri-asset.c: In function ‘get_discoverer’:
ges-uri-asset.c:67:1: error: old-style function definition [-Werror=old-style-definition]
   67 | get_discoverer ()
      | ^~~~~~~~~~~~~~
  CC       libges_1.0_la-ges-auto-transition.lo
ges-asset.c: In function ‘_get_type_entries’:
ges-asset.c:489:1: error: old-style function definition [-Werror=old-style-definition]
  489 | _get_type_entries ()
      | ^~~~~~~~~~~~~~~~~
This commit is contained in:
Sebastian Dröge 2019-08-12 17:16:44 +03:00 committed by Sebastian Dröge
parent 91dd3e44a7
commit 5feeb35dba
2 changed files with 3 additions and 3 deletions

View file

@ -486,7 +486,7 @@ ges_asset_cache_init_unlocked (void)
/* WITH LOCK_CACHE */
static GHashTable *
_get_type_entries ()
_get_type_entries (void)
{
if (type_entries_table)
return type_entries_table;

View file

@ -50,7 +50,7 @@ static void discoverer_discovered_cb (GstDiscoverer * discoverer,
/* WITH discoverers_lock */
static GstDiscoverer *
create_discoverer ()
create_discoverer (void)
{
GstDiscoverer *disco = gst_discoverer_new (discovering_timeout, NULL);
@ -64,7 +64,7 @@ create_discoverer ()
}
static GstDiscoverer *
get_discoverer ()
get_discoverer (void)
{
GstDiscoverer *disco;