From b578e9cc3a3ecff357122998600d8b30af411d27 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Thu, 15 Jan 2015 11:55:09 +0000 Subject: [PATCH] dtcm: Resolve CID 87384 --- cde/programs/dtcm/libDtCmP/getdate.h | 1 + cde/programs/dtcm/libDtCmP/getdate.y | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cde/programs/dtcm/libDtCmP/getdate.h b/cde/programs/dtcm/libDtCmP/getdate.h index 214750bb..5ee84a0e 100644 --- a/cde/programs/dtcm/libDtCmP/getdate.h +++ b/cde/programs/dtcm/libDtCmP/getdate.h @@ -84,5 +84,6 @@ extern time_t monthadd P((time_t, time_t)); extern time_t daylcorr P((time_t, time_t)); extern time_t cm_getdate P((char*, struct timeb *)); +extern void yyerror(char *s); #endif diff --git a/cde/programs/dtcm/libDtCmP/getdate.y b/cde/programs/dtcm/libDtCmP/getdate.y index e5278696..188b7b7f 100644 --- a/cde/programs/dtcm/libDtCmP/getdate.y +++ b/cde/programs/dtcm/libDtCmP/getdate.y @@ -597,5 +597,7 @@ time_t cm_getdate(char *p, struct timeb *now) return sdate; } -yyerror(s) char *s; -{} +void +yyerror(char *s) +{ +} -- 2.25.1