[PATCH 1/2] Move kernel dependent parts of <sys/time.h>

Corinna Vinschen vinschen@redhat.com
Fri Apr 8 09:37:00 GMT 2016


On Apr  8 08:55, Sebastian Huber wrote:
> On 07/04/16 17:29, Corinna Vinschen wrote:
> >On Apr  7 12:58, Sebastian Huber wrote:
> >>Move the kernel dependent parts of <sys/time.h> to new system-specific
> >>header file <machine/_time.h>.  Provide an empty default implementation.
> >>Add a specialized implementation for RTEMS.
> >Shouldn't the default implementation in machine/_time.h maintain the
> >generic implementation from sys/time.h for backward compat?
> 
> I added the #ifdef _KERNEL parts in <sys/time.h> with
> 
> commit bb0159489785d577ad0b8061a1ba7956ee0f89d0
> [...]
> It was a bad idea to add _KERNEL specific parts to the general Newlib header
> files. User space programs are not supposed to define _KERNEL. So, I don't
> think there is a backward compatibility problem.

Ok.  Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20160408/28c8fb90/attachment.sig>


More information about the Newlib mailing list