dtcm: Resolve CID 87822
[oweals/cde.git] / cde / programs / dtcm / libDtCmP / getdate.y
index 907e2c0727016587c9ae0da4d52643c5862aca93..188b7b7fdd5798d51b7ef4e277cec8485ded6320 100644 (file)
@@ -41,6 +41,7 @@ static  char sccsid[] = "@(#)getdate.y 1.10 94/11/07 Copyr 1993 Sun Microsystems
 
 #include <EUSCompat.h>
 #include <ctype.h>
+#include <string.h>
 #include <time.h>
 #include "getdate.h"
 #ifdef SVR4
@@ -596,5 +597,7 @@ time_t cm_getdate(char *p, struct timeb *now)
        return sdate;
 }
 
-yyerror(s) char *s;
-{}
+void
+yyerror(char *s)
+{
+}