From: Tom Yu Date: Wed, 1 Dec 2010 02:16:25 +0000 (+0000) Subject: pull up r24526, r24527 from trunk X-Git-Tag: krb5-1.9-beta2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6aee53f8dad193fcd1d531b3bf8f6f26db8bd49;p=thirdparty%2Fkrb5.git 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 --- diff --git a/src/kadmin/cli/getdate.y b/src/kadmin/cli/getdate.y index c8b11d8cea..613bc609c2 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 *);