summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/bits/semaphore.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 02:02:52 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 02:02:52 +0200
commited3150fb7413fce0321ad88a22de7871a301f7c3 (patch)
tree819e914ae9ddd1e03e666da8743e6ed0bea16cec /sysdeps/pthread/bits/semaphore.h
parent35d73c71b7f6bf367427a9ee8172e11f45c16d98 (diff)
Fix coding style
Diffstat (limited to 'sysdeps/pthread/bits/semaphore.h')
-rw-r--r--sysdeps/pthread/bits/semaphore.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/pthread/bits/semaphore.h b/sysdeps/pthread/bits/semaphore.h
index 94f4da2..2728235 100644
--- a/sysdeps/pthread/bits/semaphore.h
+++ b/sysdeps/pthread/bits/semaphore.h
@@ -28,13 +28,13 @@
/* User visible part of a semaphore. */
struct __semaphore
- {
- __pthread_spinlock_t __lock;
- struct __pthread *__queue;
- int __pshared;
- int __value;
- void *__data;
- };
+{
+ __pthread_spinlock_t __lock;
+ struct __pthread *__queue;
+ int __pshared;
+ int __value;
+ void *__data;
+};
typedef struct __semaphore sem_t;