pull up r24526, r24527 from trunk
authorTom Yu <tlyu@mit.edu>
Wed, 1 Dec 2010 02:16:25 +0000 (02:16 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 1 Dec 2010 02:16:25 +0000 (02:16 +0000)
 ------------------------------------------------------------------------
 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

index c8b11d8cead4209b8d7273e5a7dac8de24f8dc4f..613bc609c25690871a3cf306853fd62bf81db37b 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(void);
 
 time_t get_date(char *);