[PATCH] Make libc includes more POSIX compliant w.r.t. time.h

Garrett Cooper yanegomi at gmail.com
Sat Jan 22 08:41:05 UTC 2011


Hi,
    A handful of source files in libc are missing time.h includes for
clock_* and timer_* functions, as well as related macros and other
bits defined by the POSIX 2008.1 spec and our manpages. The attached
patch makes libc more POSIX and requirements compliant with time.h and
stddef.h (required for NULL symbol as per POSIX).
    The work is part of a larger effort I started in
//depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more
POSIX compliant.
    If someone could assist by committing the attached patch, it would
be much appreciated.
Thanks!
-Garrett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-missing-libc-time-h-includes.patch
Type: text/x-patch
Size: 2111 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110122/6777244d/add-missing-libc-time-h-includes.bin


More information about the freebsd-hackers mailing list