base: Do not use old-style definition

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
Edward Hervey 2025-01-03 10:36:17 +01:00 committed by GStreamer Marge Bot
parent 319ff17300
commit 9e58164cfb
4 changed files with 5 additions and 5 deletions

View file

@ -213,7 +213,7 @@ typedef GHashTable GstXmpSchema;
#define gst_xmp_schema_lookup g_hash_table_lookup
#define gst_xmp_schema_insert g_hash_table_insert
static GstXmpSchema *
gst_xmp_schema_new ()
gst_xmp_schema_new (void)
{
return g_hash_table_new (g_direct_hash, g_direct_equal);
}
@ -1066,7 +1066,7 @@ _init_xmp_tag_map (gpointer user_data)
}
static void
xmp_tags_initialize ()
xmp_tags_initialize (void)
{
static GOnce my_once = G_ONCE_INIT;
g_once (&my_once, (GThreadFunc) _init_xmp_tag_map, NULL);

View file

@ -280,7 +280,7 @@ no_memory:
* Returns: (transfer full): a new #GstBufferPool to allocate video frames
*/
GstBufferPool *
gst_video_buffer_pool_new ()
gst_video_buffer_pool_new (void)
{
GstVideoBufferPool *pool;

View file

@ -29,7 +29,7 @@
/* Helper functions to create profiles */
static GstEncodingProfile *
create_ogg_profile ()
create_ogg_profile (void)
{
GstEncodingContainerProfile *prof;
GstCaps *ogg;

View file

@ -2202,7 +2202,7 @@ create_feedback_buffer (gboolean with_padding)
}
static GstBuffer *
create_remb_buffer ()
create_remb_buffer (void)
{
guint8 remb_buffer[20] = {
0x8f, 0xce, 0x00, 0x04,