Jim Meyering <jim <at> meyering.net> writes:

> 
> There is a declaration of struct timespec in time_.h,
> so utimens.h, stat-time.h, and getdate.h should include <time.h>
> rather than timespec.h.  Then timespec.h can be removed.
> 
> I'll look into that over the weekend, if no one else does it first.

I took a closer look at it this morning.  What should I do about timespec_cmp
(), gettime(), and settime(), which currently appear only in timespec.h, but 
are in use by both coreutils and tar?  Until that is resolved, timespec.h (and 
the timespec module) can't be deleted.  Should we just move these function 
declarations into time_.h, even though they are not strictly part of time.h's 
namespace?  Or do we keep the timespec module, which both coreutils and tar 
explicitly request, as an add-on module not required by any other gnulib module?

-- 
Eric Blake




Reply via email to