tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Unification of common date/time macros



Hello,

Good point with reducing the (U)L modifiers, also reducing possible side-effects of 16-bit int, so going for 86400 explicitly is a good idea.

I've already proposed patches with this bug-report:
http://mail-index.netbsd.org/netbsd-bugs/2014/09/16/msg038315.html

My idea was to extract verbatim defines from clock_subr.h, put them to a file inside 'sys/' and keep 100% compatibility with files that depend on the original defines inside clock_subr.h (so add #include in it to the new .h file).

With regards,


Home | Main Index | Thread Index | Old Index