summaryrefslogtreecommitdiff
blob: c69758c4805dcbaf34ddf03ace77e1032870ec84 (plain)
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
From: orbea <orbea@riseup.net>
Date: Sat, 18 Jun 2022 09:10:18 -0700
Subject: [PATCH] build: Fix implicit function declarations

--- a/clientparse.y
+++ b/clientparse.y
@@ -24,6 +24,9 @@
 #define YYERROR_VERBOSE
 
 static dictServer *s;
+
+int yylex();
+void yyerror(const char *s);
 %}
 
 %union {
--- a/servparse.y
+++ b/servparse.y
@@ -30,6 +30,9 @@
 
 static dictDatabase *db;
 
+int yylex();
+void yyerror(const char *s);
+
 static int string2bool (const char *str)
 {
    if (