diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-20 22:25:06 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-29 23:38:50 -0800 |
commit | 1615c2e6bca01fbc7355043d2218c7c1dce453f5 (patch) | |
tree | 4cb527593758430c28da0916020778e479779c63 /modules/pthread | |
parent | 62dbbbd1dd25b29720a66a2a2a9c6cec0f7bac10 (diff) | |
download | gnulib-1615c2e6bca01fbc7355043d2218c7c1dce453f5.tar.gz |
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.
Diffstat (limited to 'modules/pthread')
-rw-r--r-- | modules/pthread | 2 |
1 files changed, 2 insertions, 0 deletions
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 |