mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
91dd3e44a7
commit
5feeb35dba
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue