summarylogtreecommitdiffstats
path: root/0001-implicit-declaration.patch
blob: 091c2322f5a04695b87ae84ce51fe2ed35b85e3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Roland Rosenfeld <roland@debian.org>
Bug-Debian: https://bugs.debian.org/1066582
Description: Fix implicit declaration of function ‘yylex’
Last-Update: 2024-08-31

--- 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();