#include /* * cmptime * * given two files, return positive if the first has a more recent modification * date/time, zero if the files have the same modification date/time or * negative if the second is more recent. */ long cmptime(const struct _dta *a, const struct _dta *b) { return (((unsigned long)a->dta_date) << 16 | (unsigned long)a->dta_time) - (((unsigned long)b->dta_date) << 16 | (unsigned long)b->dta_time); }