]> git.saurik.com Git - apple/libplatform.git/blobdiff - src/os/lock_internal.h
libplatform-177.250.1.tar.gz
[apple/libplatform.git] / src / os / lock_internal.h
index af6a862983c9453facdba90909b9d689c4df24f2..ca5af12250fa5b76fbcc2a4f7361173eee5a3f8e 100644 (file)
@@ -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__