white space cleanup
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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,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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user