This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Obsolete clock methods in time.h?


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]