mirror of
https://github.com/opnsense/src.git
synced 2026-03-26 20:53:08 -04:00
Restore the simple leap year calculation as a macro and document it so that it doesn't become complicated again. The simple version works for all leap years covered by 32-bit time_t's. The complicated version doesn't work for all leap years covered by 64-bit time_t's since among other reasons, the solar system is not stable for long enough. Fix declarations. Nuke spinwait(). |
||
|---|---|---|
| .. | ||
| ic | ||
| atrtc.c | ||
| fd.c | ||
| fdc.h | ||
| fdreg.h | ||
| kbdtables.h | ||
| rtc.h | ||
| sio.c | ||
| sioreg.h | ||
| syscons.c | ||
| timerreg.h | ||