This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 v2 1/2] Y2038: make __mktime_internal compatible with __time64_t


On Fri, 29 Mar 2019, Lukasz Majewski wrote:

> I've proposed to install struct __timespec64/__timeval64
> in ./include/bits/types directory of glibc (and as fair as I understand
> those would be private).

Almost all include/bits headers are single-line wrappers round the 
installed header.  Given that <bits/*.h> is a namespace specifically for 
*installed* header fragments included from other installed headers, you 
need a very good reason to put actual type definitions in include/bits/.

> But also, those can be placed in ./include/time.h

Yes, that's a more appropriate place for internal type definitions.

-- 
Joseph S. Myers
joseph@codesourcery.com


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