move the declaration of the log level 56/301756/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 29 Jul 2021 04:54:18 +0000 (13:54 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Wed, 22 Nov 2023 09:26:23 +0000 (18:26 +0900)
from hal-tbm-types.h to common.h

Change-Id: Ie2555e98d8058cf4d3bafc7126fd7ecde9f0b47c

include/hal-tbm-types.h
src/common.h

index 7e908b77f28c4b80e27067ea4f2326d52d23d513..783def81baae7aae297de16475050264ccf0c058 100644 (file)
@@ -121,14 +121,6 @@ typedef enum {
        HAL_TBM_OPTION_VENDOR = (0xffff0000),  /**< the the vendor specific option that depends on the backend */
 } hal_tbm_bo_access_option;
 
-enum {
-       HAL_TBM_LOG_LEVEL_NONE,
-       HAL_TBM_LOG_LEVEL_ERR,
-       HAL_TBM_LOG_LEVEL_WRN,
-       HAL_TBM_LOG_LEVEL_INFO,
-       HAL_TBM_LOG_LEVEL_DBG,
-};
-
 /**
  * @brief Deficitino for the buffer data of hal_tbm_surface
  */
index 360cbf658fe170a7e0f965caa73ecd667a86ebeb..729a431cc540cbab7eb5a56bc6b16544d19c2c58 100644 (file)
@@ -95,4 +95,12 @@ void hal_tbm_log_print(int level, const char *fmt, ...);
        } \
 }
 
+enum {
+       HAL_TBM_LOG_LEVEL_NONE,
+       HAL_TBM_LOG_LEVEL_ERR,
+       HAL_TBM_LOG_LEVEL_WRN,
+       HAL_TBM_LOG_LEVEL_INFO,
+       HAL_TBM_LOG_LEVEL_DBG,
+};
+
 #endif /* __COMMON_H__ */