appstream/backport-fix-a-function-declaration-without-prototype-issue.patch

27 lines
809 B
Diff
Raw Normal View History

From 82dc772ab6d0beeccf5ae9156016f794ebe26663 Mon Sep 17 00:00:00 2001
From: Gleb Popov <6yearold@gmail.com>
Date: Tue, 31 Oct 2023 10:12:22 +0300
Subject: [PATCH] fix a function declaration without prototype issue
Tested-by: jchzhou <zhoujiacheng@iscas.ac.cn>
---
compose/asc-globals.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compose/asc-globals.c b/compose/asc-globals.c
index 314f75c..0bf221e 100644
--- a/compose/asc-globals.c
+++ b/compose/asc-globals.c
@@ -455,7 +455,7 @@ asc_globals_get_hint_tag_details (const gchar *tag)
* Returns: (transfer full): A list of valid hint tags. Free with %g_strfreev
*/
gchar**
-asc_globals_get_hint_tags ()
+asc_globals_get_hint_tags (void)
{
AscGlobalsPrivate *priv = asc_globals_get_priv ();
GHashTableIter iter;
--
2.47.1