diff options
Diffstat (limited to 'src/libSystem/SystemKit')
| -rw-r--r-- | src/libSystem/SystemKit/Macros.h | 2 | ||||
| -rw-r--r-- | src/libSystem/SystemKit/System.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/libSystem/SystemKit/Macros.h b/src/libSystem/SystemKit/Macros.h index 14918c41..1673d427 100644 --- a/src/libSystem/SystemKit/Macros.h +++ b/src/libSystem/SystemKit/Macros.h @@ -94,7 +94,7 @@ typedef nullPtr NullPtr; #endif #ifndef kib_cast -#define kib_cast(X) (UInt64)((X) *1024) +#define kib_cast(X) (UInt64)((X) * 1024) #endif #ifndef MIB diff --git a/src/libSystem/SystemKit/System.h b/src/libSystem/SystemKit/System.h index 69cce9a7..324aae5c 100644 --- a/src/libSystem/SystemKit/System.h +++ b/src/libSystem/SystemKit/System.h @@ -21,7 +21,8 @@ /// @brief Types API. // ------------------------------------------------------------------------------------------ // -/// @brief Reference type, used for all references in the system, such as file descriptors, dylib handles, thread handles, etc. +/// @brief Reference type, used for all references in the system, such as file descriptors, dylib +/// handles, thread handles, etc. struct REF_TYPE { UInt64 __hash; /// @brief Hash of the syscall VoidPtr __self; /// @brief Syscall self value. @@ -398,7 +399,8 @@ IMPORT_C UInt64 StrMathToNumber(const Char* in, const Char** endp, const SInt16 // ------------------------------------------------------------------------------------------ // /// @brief Create a semaphore. -IMPORT_C _Output SemaphoreRef SemCreate(_Input UInt32 initial_count, _Input UInt32 max_count, _Input const Char* name); +IMPORT_C _Output SemaphoreRef SemCreate(_Input UInt32 initial_count, _Input UInt32 max_count, + _Input const Char* name); /// @brief Wait on a semaphore. IMPORT_C SInt32 SemWait(_Input SemaphoreRef sem); |
