From c6aee53f8dad193fcd1d531b3bf8f6f26db8bd49 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 1 Dec 2010 02:16:25 +0000 Subject: [PATCH] pull up r24526, r24527 from trunk ------------------------------------------------------------------------ r24527 | ghudson | 2010-11-21 22:58:15 -0500 (Sun, 21 Nov 2010) | 4 lines ticket: 6823 Correct typo in r24526. ------------------------------------------------------------------------ r24526 | hartmans | 2010-11-21 22:33:22 -0500 (Sun, 21 Nov 2010) | 9 lines ticket: 6823 subject: getdate.y: declare yyparse target_version: 1.9 tags: pullup At least on lucid, byacc doesn't declare yyparse, which creates problems because lucid treats calls to unprototyped functions as errors. ticket: 6823 version_fixed: 1.9 status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-9@24544 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..613bc609c 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(void); time_t get_date(char *); -- 2.26.2