Obsolete clock methods in time.h?
Corinna Vinschen
vinschen@redhat.com
Thu Apr 19 08:46:00 GMT 2018
On Apr 18 18:17, Joel Sherrill wrote:
> Hi
>
> While grep'ing for uses of clockid_t, I came across these in time.h:
>
> /* CPU-time Clock Attribute Access, P1003.4b/D8, p. 56 */
>
> int _EXFUN(clock_setenable_attr, (clockid_t clock_id, int attr));
> int _EXFUN(clock_getenable_attr, (clockid_t clock_id, int *attr));
>
>
> Not remembering those, i did a web search and I think they are dead
> except for these prototypes in Newlib.
>
> Does anyone have anymore insight into them? Is it OK to remove them?
>
> FWIW that looks like my style of comment and I don't even know
> where I could find that draft these days. :)
Those apparently never made it into a standard. Please remove them
from libc/include/time.h as well as libc/sys/linux/include/time.h.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180419/f5010e2e/attachment.sig>
More information about the Newlib
mailing list