isofs: do not link against libc
This change requires a small patch to libc, in order to avoid that libminc has to pull in a large chunk of libc just for mktime(3). Change-Id: I48e598b3716eff626cac461f78a41e32334e6b28
This commit is contained in:
@@ -1706,6 +1706,7 @@ timesub(const timezone_t sp, const time_t *const timep,
|
||||
return tmp;
|
||||
}
|
||||
|
||||
#if !defined(__minix) || !defined(_LIBMINC)
|
||||
char *
|
||||
ctime(const time_t *const timep)
|
||||
{
|
||||
@@ -1742,6 +1743,7 @@ ctime_rz(const timezone_t sp, const time_t * timep, char *buf)
|
||||
return NULL;
|
||||
return asctime_r(rtm, buf);
|
||||
}
|
||||
#endif /* !defined(__minix) || !defined(_LIBMINC) */
|
||||
|
||||
/*
|
||||
** Adapted from code provided by Robert Elz, who writes:
|
||||
|
||||
Reference in New Issue
Block a user