white space cleanup

This commit is contained in:
Jérôme Duval
2018-02-10 16:15:37 +01:00
parent e2e571c035
commit 718d7149b1
21 changed files with 38 additions and 38 deletions
@@ -1,7 +1,7 @@
/*
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
* Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
* Distributed under the terms of the Haiku License.
*/
#include <setjmp.h>
+2 -2
View File
@@ -1011,7 +1011,7 @@ _user_xsi_semctl(int semaphoreID, int semaphoreNumber, int command,
if (!semaphoreSet->HasPermission()) {
TRACE_ERROR(("xsi_semctl: calling process has not "
"permission on semaphore %d, key %d\n",
semaphoreSet->ID(), (int)semaphoreSet->IpcKey()));
semaphoreSet->ID(), (int)semaphoreSet->IpcKey()));
result = EACCES;
} else {
struct semid_ds sem;
@@ -1034,7 +1034,7 @@ _user_xsi_semctl(int semaphoreID, int semaphoreNumber, int command,
if (!semaphoreSet->HasPermission()) {
TRACE_ERROR(("xsi_semctl: calling process has not "
"permission on semaphore %d, key %d\n",
semaphoreSet->ID(), (int)semaphoreSet->IpcKey()));
semaphoreSet->ID(), (int)semaphoreSet->IpcKey()));
return EACCES;
}
key_t key = semaphoreSet->IpcKey();
+3 -3
View File
@@ -1,7 +1,7 @@
/*
** Copyright 2002, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the MIT License.
*/
* Copyright 2002, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include <OS.h>
+3 -3
View File
@@ -1,7 +1,7 @@
/*
** Copyright 2003, Marcus Overhagen. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
* Copyright 2003, Marcus Overhagen. All rights reserved.
* Distributed under the terms of the Haiku License.
*/
#include <SupportDefs.h>
+3 -3
View File
@@ -1,7 +1,7 @@
/*
** Copyright 2002, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the MIT License.
*/
* Copyright 2002, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include <OS.h>
+1 -1
View File
@@ -165,7 +165,7 @@ unnamed_sem_timedwait(sem_t* semaphore, const struct timespec* timeout) {
if (result == 0)
return 0;
return _kern_mutex_sem_acquire(sem, NULL,
return _kern_mutex_sem_acquire(sem, NULL,
timeoutMicros == B_INFINITE_TIMEOUT ? 0 : B_ABSOLUTE_REAL_TIME_TIMEOUT,
timeoutMicros);
}