From 9defd14457b4a2e3ba0b692ac12866c0f45deb70 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 28 Jul 2012 07:18:23 -0700 Subject: 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. --- modules/timespec | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/timespec') 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" -- cgit v1.2.1