getdate.y: declare yyparse
authorSam Hartman <hartmans@mit.edu>
Mon, 22 Nov 2010 03:33:22 +0000 (03:33 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 22 Nov 2010 03:33:22 +0000 (03:33 +0000)
At least on lucid, byacc doesn't declare yyparse, which creates
problems because lucid treats calls to unprototyped functions as
errors.

ticket: 6823
target_version: 1.9
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24526 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/cli/getdate.y

index c8b11d8cead4209b8d7273e5a7dac8de24f8dc4f..7e147624240d0f4f3a651c3d1bb7b5598eb95a52 100644 (file)
@@ -860,6 +860,7 @@ difftm(struct tm *a, struct tm *b)
 
 /* For get_date extern declaration compatibility check... yuck.  */
 #include <krb5.h>
+int yyparse(voide);
 
 time_t get_date(char *);