diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-28 07:18:23 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-08-01 14:33:36 -0700 |
commit | 9defd14457b4a2e3ba0b692ac12866c0f45deb70 (patch) | |
tree | 8a5dafca2730498216dcf4362171e27d5e9fe722 /modules/timespec | |
parent | 56c2613a06eea1a53d601219618ad0d6ce54afa1 (diff) | |
download | gnulib-9defd14457b4a2e3ba0b692ac12866c0f45deb70.tar.gz |
timespec: use extern-inline
* 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.
Diffstat (limited to 'modules/timespec')
-rw-r--r-- | modules/timespec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/timespec b/modules/timespec index 8d74632c9e..176022c634 100644 --- a/modules/timespec +++ b/modules/timespec @@ -3,15 +3,18 @@ timespec-related declarations Files: lib/timespec.h +lib/timespec.c m4/timespec.m4 Depends-on: +extern-inline time configure.ac: gl_TIMESPEC Makefile.am: +lib_SOURCES += timespec.c Include: "timespec.h" |