File: implicit-declaration.patch

package info (click to toggle)
xshogi 1.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,832 kB
  • sloc: ansic: 6,199; sh: 1,373; makefile: 251; yacc: 137; lex: 109
file content (27 lines) | stat: -rw-r--r-- 656 bytes parent folder | download
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
From: Roland Rosenfeld <roland@debian.org>
Date: Sun, 25 Jan 2026 13:45:59 +0100
Subject: =?utf-8?q?Fix_implicit_declaration_of_function_=E2=80=98yylex?=
 =?utf-8?q?=E2=80=99?=

Bug-Debian: https://bugs.debian.org/1066582
Last-Update: 2024-08-31
---
 parser.y | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/parser.y b/parser.y
index 809d3a4..928ced3 100644
--- a/parser.y
+++ b/parser.y
@@ -67,7 +67,10 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-                  
+
+extern void DisplayMessage(char *message, int toRemotePlayer);
+extern int yylex (void);
+
 enum { False, True };
 
 static void yyerror();