summaryrefslogtreecommitdiff
path: root/lib/timespec.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* timespec: use extern-inlinePaul Eggert2012-08-011-0/+3
* lib/timespec.c: New file. * lib/timespec.h: Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. (_GL_TIMESPEC_INLINE): New macro. Use it instead of 'static inline'. * modules/timespec (Files): Add lib/timespec.c. (Depends-on): Add extern-inline. (lib_SOURCES): Add timespec.c.