From: Sam Hartman Date: Mon, 22 Nov 2010 03:33:22 +0000 (+0000) Subject: getdate.y: declare yyparse X-Git-Tag: krb5-1.10-alpha1~653 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c8a7aa8a4138e517c5b8b9528049b37e7591da50;p=krb5.git getdate.y: declare yyparse 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 --- diff --git a/src/kadmin/cli/getdate.y b/src/kadmin/cli/getdate.y index c8b11d8ce..7e1476242 100644 --- a/src/kadmin/cli/getdate.y +++ b/src/kadmin/cli/getdate.y @@ -860,6 +860,7 @@ difftm(struct tm *a, struct tm *b) /* For get_date extern declaration compatibility check... yuck. */ #include +int yyparse(voide); time_t get_date(char *);