summaryrefslogtreecommitdiff
path: root/lib/pthread.in.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-07-15 02:41:05 +0200
committerBruno Haible <bruno@clisp.org>2019-07-15 02:41:05 +0200
commite7b9404a99d66bfcc3021e886c5a366894bdc9e0 (patch)
tree42b2d4455b2718f0cff552da0c163250591819d5 /lib/pthread.in.h
parent2d853e8b44e1717532e91a76410b2cdfcad7c73d (diff)
downloadgnulib-e7b9404a99d66bfcc3021e886c5a366894bdc9e0.tar.gz
pthread: Turn into a convenience module.
* lib/pthread.in.h: Remove declarations for extern inline functions. * lib/pthread.c: Remove file. * modules/pthread (Files): Remove it. (Depends-on): Add pthread-thread, pthread-once, pthread-mutex, pthread-rwlock, pthread-cond, pthread-tss, pthread-spin. (configure.ac): Don't compile lib/pthread.c. Don't set GNULIB_PTHREAD. * m4/pthread_h.m4 (gl_PTHREAD_H_DEFAULTS): Don't initialize GNULIB_PTHREAD. * modules/pthread-h (Makefile.am): Don't substitute GNULIB_PTHREAD.
Diffstat (limited to 'lib/pthread.in.h')
-rw-r--r--lib/pthread.in.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/pthread.in.h b/lib/pthread.in.h
index d0f3ad8bda..c8963c832b 100644
--- a/lib/pthread.in.h
+++ b/lib/pthread.in.h
@@ -77,14 +77,6 @@
/* The definition of _GL_WARN_ON_USE is copied here. */
-#ifndef _GL_INLINE_HEADER_BEGIN
- #error "Please include config.h first."
-#endif
-_GL_INLINE_HEADER_BEGIN
-#ifndef _GL_PTHREAD_INLINE
-# define _GL_PTHREAD_INLINE _GL_INLINE
-#endif
-
/* =========== Thread types and macros =========== */
#if @GNULIB_PTHREAD_THREAD@ && (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS
@@ -1720,8 +1712,6 @@ _GL_WARN_ON_USE (pthread_spin_destroy, "pthread_spin_destroy is not portable - "
#endif
-_GL_INLINE_HEADER_END
-
#endif /* _@GUARD_PREFIX@_PTHREAD_H_ */
#endif /* _@GUARD_PREFIX@_PTHREAD_H_ */
#endif