summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/bits/semaphore.h
diff options
context:
space:
mode:
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;