osal: changed bool type to OMX_BOOL type
authorYunji Kim <yunji.kim@samsung.com>
Mon, 29 Oct 2012 04:25:55 +0000 (13:25 +0900)
committerHuisung Kang <hs1218.kang@samsung.com>
Mon, 29 Oct 2012 04:54:22 +0000 (13:54 +0900)
Change-Id: I1a83d8bfadee170f789a7755bed76c22ab247919
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
osal/Exynos_OSAL_SharedMemory.c

index f45211727a461c0cc60b6cd13c2229fa0f932157..970759404c7274e72a101e7044c7b4ca7c3cbe6f 100644 (file)
@@ -25,7 +25,6 @@
  *   2012.02.20 : Create
  */
 
-#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -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: