Better to do this before we have too many dependancies than to delay it
until we can't change it.
extern int _stat(const char *path, struct _uzistat *s);
extern int _fstat(int fd, struct _uzistat *s);
extern int _getfsys(int dev, struct _uzifilesys *fs);
-extern int _time(time_t *t);
+extern int _time(time_t *t, uint16_t clock);
extern int _stime(const time_t *t);
extern int _times(struct tms *t);
extern int _utime(const char *file, time_t *buf);
{
time_t tmp;
if (t) {
- _time(t);
+ _time(t, 0);
return *t;
}
- _time(&tmp);
+ _time(&tmp, 0);
return tmp;
}