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: [PATCH 1/2] Move kernel dependent parts of <sys/time.h>


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

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]