summaryrefslogtreecommitdiff
path: root/sysdeps/pthread
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread')
-rw-r--r--sysdeps/pthread/bits/pthreadtypes.h8
-rw-r--r--sysdeps/pthread/bits/semaphore.h2
-rw-r--r--sysdeps/pthread/pthread-functions.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/pthread/bits/pthreadtypes.h b/sysdeps/pthread/bits/pthreadtypes.h
index 3d93484..2092f8f 100644
--- a/sysdeps/pthread/bits/pthreadtypes.h
+++ b/sysdeps/pthread/bits/pthreadtypes.h
@@ -103,20 +103,20 @@ typedef __pthread_spinlock_t pthread_spinlock_t;
#if defined __USE_UNIX98 || defined __USE_XOPEN2K
-#include <bits/types/struct___pthread_rwlockattr.h>
+# include <bits/types/struct___pthread_rwlockattr.h>
typedef struct __pthread_rwlockattr pthread_rwlockattr_t;
-#include <bits/types/struct___pthread_rwlock.h>
+# include <bits/types/struct___pthread_rwlock.h>
typedef struct __pthread_rwlock pthread_rwlock_t;
#endif /* __USE_UNIX98 || __USE_XOPEN2K */
#ifdef __USE_XOPEN2K
-#include <bits/types/struct___pthread_barrierattr.h>
+# include <bits/types/struct___pthread_barrierattr.h>
typedef struct __pthread_barrierattr pthread_barrierattr_t;
-#include <bits/types/struct___pthread_barrier.h>
+# include <bits/types/struct___pthread_barrier.h>
typedef struct __pthread_barrier pthread_barrier_t;
#endif /* __USE_XOPEN2K */
diff --git a/sysdeps/pthread/bits/semaphore.h b/sysdeps/pthread/bits/semaphore.h
index 2728235..b1789be 100644
--- a/sysdeps/pthread/bits/semaphore.h
+++ b/sysdeps/pthread/bits/semaphore.h
@@ -20,7 +20,7 @@
#define _BITS_SEMAPHORE_H 1
#ifndef _SEMAPHORE_H
-#error Never include <bits/semaphore.h> directly.
+# error Never include <bits/semaphore.h> directly.
#endif
#include <bits/types/__pthread_spinlock_t.h>
diff --git a/sysdeps/pthread/pthread-functions.h b/sysdeps/pthread/pthread-functions.h
index 49adbe5..b5683a6 100644
--- a/sysdeps/pthread/pthread-functions.h
+++ b/sysdeps/pthread/pthread-functions.h
@@ -134,7 +134,7 @@ extern int __libc_pthread_functions_init attribute_hidden;
void __libc_pthread_init (const struct pthread_functions *functions);
-# define PTHFCT_CALL(fct, params) \
+#define PTHFCT_CALL(fct, params) \
__libc_pthread_functions.fct params
#endif /* pthread-functions.h */