| 1974 | } |
| 1975 | #endif |
| 1976 | |
| 1977 | #if !USE_TIMEX_T |
| 1978 | |
| 1979 | void |
| 1980 | tzset(void) |
| 1981 | { |
| 1982 | monotime_t now = get_monotonic_time(); |
| 1983 | int err = lock(); |
| 1984 | if (0 < err) { |
| 1985 | errno = err; |
| 1986 | return; |
| 1987 | } |
| 1988 | tzset_unlocked(!err, false, now); |
| 1989 | unlock(!err); |
| 1990 | } |
nothing calls this directly
no test coverage detected