From c8a7aa8a4138e517c5b8b9528049b37e7591da50 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Mon, 22 Nov 2010 03:33:22 +0000 Subject: [PATCH] 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 --- src/kadmin/cli/getdate.y | 1 + 1 file changed, 1 insertion(+) 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 *); -- 2.26.2