From: Yunji Kim Date: Mon, 29 Oct 2012 04:25:55 +0000 (+0900) Subject: osal: changed bool type to OMX_BOOL type X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=84f7267708ec3da522a27692de327798eeec0754;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung_slsi_openmax.git osal: changed bool type to OMX_BOOL type Change-Id: I1a83d8bfadee170f789a7755bed76c22ab247919 Signed-off-by: Yunji Kim Signed-off-by: Huisung Kang --- diff --git a/osal/Exynos_OSAL_SharedMemory.c b/osal/Exynos_OSAL_SharedMemory.c index f452117..9707594 100644 --- a/osal/Exynos_OSAL_SharedMemory.c +++ b/osal/Exynos_OSAL_SharedMemory.c @@ -25,7 +25,6 @@ * 2012.02.20 : Create */ -#include #include #include #include @@ -50,7 +49,7 @@ typedef struct _EXYNOS_SHAREDMEM_LIST OMX_U32 IONBuffer; OMX_PTR mapAddr; OMX_U32 allocSize; - bool owner; + OMX_BOOL owner; struct _EXYNOS_SHAREDMEM_LIST *pNextMemory; } EXYNOS_SHAREDMEM_LIST; @@ -152,7 +151,7 @@ OMX_PTR Exynos_OSAL_SharedMemory_Alloc(OMX_HANDLETYPE handle, OMX_U32 size, MEMO pElement = (EXYNOS_SHAREDMEM_LIST *)Exynos_OSAL_Malloc(sizeof(EXYNOS_SHAREDMEM_LIST)); Exynos_OSAL_Memset(pElement, 0, sizeof(EXYNOS_SHAREDMEM_LIST)); - pElement->owner = true; + pElement->owner = OMX_TRUE; switch (memoryType) { case SECURE_MEMORY: