File: main.patch

package info (click to toggle)
dicelab 0.7-8
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,936 kB
  • sloc: ansic: 4,808; sh: 1,162; yacc: 239; perl: 108; lex: 58; makefile: 44
file content (17 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: correcting return type of yyparse
Author: Robert Lemmen <robertle@semistable.com>
Origin: upstream
Forwarded: robertle@semistable.com
Last-Update: 2021-12-17

--- a/main.c
+++ b/main.c
@@ -20,7 +20,7 @@
 #endif
 #define MAXIMUM_THRESH	0.01
 
-extern void yyparse();
+extern int yyparse();
 extern FILE *yyin;
 
 int cmd_parse_tree = 0;