From ee722d0b165403b3165240e4003d2d03473ed76d Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 10 Jan 2025 11:22:32 +0100 Subject: [PATCH] ges: Fix old style function Part-of: --- subprojects/gst-editing-services/ges/ges-timeline-tree.c | 4 ++-- subprojects/gst-editing-services/plugins/ges/gesdemux.c | 2 +- subprojects/gst-editing-services/plugins/nle/validate.c | 4 ++-- .../gst-editing-services/tests/check/nle/tempochange.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/subprojects/gst-editing-services/ges/ges-timeline-tree.c b/subprojects/gst-editing-services/ges/ges-timeline-tree.c index 8e188f29a3..3141ba3824 100644 --- a/subprojects/gst-editing-services/ges/ges-timeline-tree.c +++ b/subprojects/gst-editing-services/ges/ges-timeline-tree.c @@ -161,13 +161,13 @@ new_snapped_position (GstClockTime distance) } static GHashTable * -new_edit_table () +new_edit_table (void) { return g_hash_table_new_full (NULL, NULL, NULL, g_free); } static GHashTable * -new_position_table () +new_position_table (void) { return g_hash_table_new_full (NULL, NULL, NULL, g_free); } diff --git a/subprojects/gst-editing-services/plugins/ges/gesdemux.c b/subprojects/gst-editing-services/plugins/ges/gesdemux.c index c2857f5fcf..7bb4595a32 100644 --- a/subprojects/gst-editing-services/plugins/ges/gesdemux.c +++ b/subprojects/gst-editing-services/plugins/ges/gesdemux.c @@ -86,7 +86,7 @@ enum static GParamSpec *properties[PROP_LAST]; static GstCaps * -ges_demux_get_sinkpad_caps () +ges_demux_get_sinkpad_caps (void) { GList *tmp, *formatters; GstCaps *sinkpad_caps = gst_caps_new_empty (); diff --git a/subprojects/gst-editing-services/plugins/nle/validate.c b/subprojects/gst-editing-services/plugins/nle/validate.c index a50b4954fb..6650ac0a82 100644 --- a/subprojects/gst-editing-services/plugins/nle/validate.c +++ b/subprojects/gst-editing-services/plugins/nle/validate.c @@ -133,7 +133,7 @@ clean: NLE_END_VALIDATE_ACTION; static void -register_action_types () +register_action_types (void) { GST_DEBUG_CATEGORY_INIT (nle_validate_debug, "nlevalidate", GST_DEBUG_FG_BLUE | GST_DEBUG_BOLD, "NLE validate"); @@ -164,7 +164,7 @@ register_action_types () void -nle_validate_init () +nle_validate_init (void) { register_action_types (); } diff --git a/subprojects/gst-editing-services/tests/check/nle/tempochange.c b/subprojects/gst-editing-services/tests/check/nle/tempochange.c index 910b8caebc..74fcf44536 100644 --- a/subprojects/gst-editing-services/tests/check/nle/tempochange.c +++ b/subprojects/gst-editing-services/tests/check/nle/tempochange.c @@ -636,7 +636,7 @@ GST_START_TEST (test_tempochange_seek) GST_END_TEST; static void -late_ges_init () +late_ges_init (void) { /* We need to do this inside the test cases, not during the initialization * of the suite, as ges_init() will initialize thread pools, which cannot