makeidate
if (makeidate(idatep, buf) < 0) {
static int makeidate(struct idates *, char *);
static int makeidate();