From 40444d81636580c80d6000856cca6078ea41f85e Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 28 Mar 2018 02:12:59 +0200 Subject: Fix coding style --- sysdeps/pthread/bits/pthreadtypes.h | 8 ++++---- sysdeps/pthread/bits/semaphore.h | 2 +- sysdeps/pthread/pthread-functions.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sysdeps/pthread') 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 +# include typedef struct __pthread_rwlockattr pthread_rwlockattr_t; -#include +# include typedef struct __pthread_rwlock pthread_rwlock_t; #endif /* __USE_UNIX98 || __USE_XOPEN2K */ #ifdef __USE_XOPEN2K -#include +# include typedef struct __pthread_barrierattr pthread_barrierattr_t; -#include +# include 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 directly. +# error Never include directly. #endif #include 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 */ -- cgit v1.2.3