summaryrefslogtreecommitdiff
path: root/lib/stat-time.c
Commit message (Collapse)AuthorAgeFilesLines
* Put LGPLv2+ notices in source files where appropriate.Bruno Haible2021-06-041-0/+18
| | | | | * lib/**.{h,c,gperf}: Use LGPLv2+ notice whenever the module description says so.
* stat-time, timespec, u64: support naive out-of-dir buildsPaul Eggert2012-08-021-1/+1
| | | | | | | | * lib/stat-time.c, lib/timespec.c, lib/u64.c: Use '#include "foo.h"', not '#include <foo.h>', when including one's own interface. This works better when configuring with out-of-directory builds, since packages need not add an otherwise-unnecessary -I$(topdir_src)/lib to DEFAULT_INCLUDES.
* stat-time: use extern-inlinePaul Eggert2012-08-011-0/+3
* lib/stat-time.c: New file. * lib/stat-time.h: Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. (_GL_STAT_TIME_INLINE): New macro. Use it instead of 'static inline'. * modules/stat-time (Files): Add lib/stat-time.c. (Depends-on): Add extern-inline. (lib_SOURCES): Add stat-time.c.