]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
heimdal: use correct prototype of yyparse()
authorAndrew Bartlett <abartlet@samba.org>
Sun, 18 Apr 2021 19:03:47 +0000 (07:03 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 28 Apr 2021 03:43:34 +0000 (03:43 +0000)
As noted in 92c6891c368cae5c2402727c1f66f1c60778199d in upstream
Heimdal yyparse() returns an int.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/heimdal/lib/com_err/compile_et.c

index 59a9d33e4184e5e0a003694f4406dca00530d492..d66851f1b5fcdc1a45bf570af57ef67ce9ee0db9 100644 (file)
@@ -45,7 +45,7 @@
 int numerror;
 extern FILE *yyin;
 
-extern void yyparse(void);
+extern int yyparse(void);
 
 long base_id;
 int number;