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] |
The patch is small. How does it look? OK to commit? 2014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com> * libc/include/sys/time.h: Add prototype for adjtime() and wrap it and settimeofday() prototype with __BSD_VISIBLE. --joel On 7/21/2014 1:33 PM, Corinna Vinschen wrote: > On Jul 21 10:08, Joel Sherrill wrote: >> Hi >> >> I was looking at adding adjtime() to sys/time.h. It and settimeofday() >> are protected by _BSD_SOURCE per the Linux man page. >> >> settimeofday() is currently not protected by a BSD feature macro, >> should it be? >> >> And it is OK to add adjtime() protected by a BSD feature macro? > Yes in both cases. > > > Thanks, > Corinna > -- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985
Attachment:
newlib-sys-time-adjtime.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |