From 1615c2e6bca01fbc7355043d2218c7c1dce453f5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 20 Nov 2012 22:25:06 -0800 Subject: pthread: better 'inline' * lib/pthread.c: New file. * lib/pthread.in.h (_GL_PTHREAD_INLINE): New macro. Replace all uses of 'static inline' with it. Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. * m4/pthread.m4 (gl_PTHREAD_CHECK): Add AC_LIBOBJ([pthread]). Do not require AC_C_INLINE. * modules/pthread (Files): Add lib/pthread.c. (Depends-on): Add extern-inline. --- modules/pthread | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/pthread') diff --git a/modules/pthread b/modules/pthread index eef4b07165..cd49852581 100644 --- a/modules/pthread +++ b/modules/pthread @@ -2,10 +2,12 @@ Description: Implement a trivial subset of the pthreads library. Files: +lib/pthread.c lib/pthread.in.h m4/pthread.m4 Depends-on: +extern-inline sched time -- cgit v1.2.1