X-Git-Url: https://git.saurik.com/apple/libplatform.git/blobdiff_plain/ada7c4921d100a297d3be70d24c7fe9f43330c12..fedab5849c4fa8fc34212be16743dbfae89c71e4:/src/os/lock_internal.h diff --git a/src/os/lock_internal.h b/src/os/lock_internal.h index af6a862..ca5af12 100644 --- a/src/os/lock_internal.h +++ b/src/os/lock_internal.h @@ -30,7 +30,7 @@ #define OS_LOCK_STRUCT_DECL_INTERNAL(type, ...) \ typedef struct OS_LOCK_S_INTERNAL(type) { \ - OS_LOCK_TYPE_STRUCT(type) * const osl_type; \ + OS_LOCK_TYPE_STRUCT(type) * osl_type; \ __VA_ARGS__ \ } OS_LOCK_S_INTERNAL(type); \ typedef OS_LOCK_STRUCT_INTERNAL(type) *OS_LOCK_T_INTERNAL(type) @@ -56,6 +56,4 @@ .osl_unlock = _os_lock_##type##_unlock, \ } -#include "os/internal.h" - #endif // __OS_LOCK_INTERNAL__