1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
From 29b8e35416b6d2fd7a4e2dc60c5006d4dc7be2da Mon Sep 17 00:00:00 2001
From: Ryo Nakano <ryonakaknock3@gmail.com>
Date: Sat, 20 Sep 2025 20:56:04 +0900
Subject: [PATCH] Explicit parameters in function declaration
Function declaration with no prototype are forbidden in C23.
See: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2841.htm
---
libgda/sql-parser/lemon.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libgda/sql-parser/lemon.c b/libgda/sql-parser/lemon.c
index afab40fd8..dac4b9697 100644
--- a/libgda/sql-parser/lemon.c
+++ b/libgda/sql-parser/lemon.c
@@ -70,12 +70,12 @@ static struct action *Action_new(void);
static struct action *Action_sort(struct action *);
/********** From the file "build.h" ************************************/
-void FindRulePrecedences();
-void FindFirstSets();
-void FindStates();
-void FindLinks();
-void FindFollowSets();
-void FindActions();
+void FindRulePrecedences(struct lemon *xp);
+void FindFirstSets(struct lemon *lemp);
+void FindStates(struct lemon *lemp);
+void FindLinks(struct lemon *lemp);
+void FindFollowSets(struct lemon *lemp);
+void FindActions(struct lemon *lemp);
/********* From the file "configlist.h" *********************************/
void Configlist_init(void);
--
2.43.0
|