From: Sangchul Lee Date: Thu, 14 Sep 2017 07:58:50 +0000 (+0900) Subject: Remove unused defines and file X-Git-Tag: accepted/tizen/unified/20170925.151025^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fmultimedia%2Flibmm-common.git;a=commitdiff_plain;h=ff7d51218fd11931ce86fd9c012acda601599ccc Remove unused defines and file [Version] 0.2.107 [Issue Type] Clean-up Change-Id: I31a89516ff760e5063976be256e0ce6ec010d141 Signed-off-by: Sangchul Lee --- diff --git a/include/mm_log.h b/include/mm_log.h index 52d6e05..96fec69 100644 --- a/include/mm_log.h +++ b/include/mm_log.h @@ -23,24 +23,13 @@ #ifndef __MM_LOG_H__ #define __MM_LOG_H__ +#include + #ifdef __cplusplus extern "C" { #endif /** - * Enumerations for log direction - */ -typedef enum { - LOG_DIRECTION_NONE = 0, - LOG_DIRECTION_CONSOLE, - LOG_DIRECTION_FILE, - LOG_DIRECTION_SYSLOG, - LOG_DIRECTION_SYSTEM, - LOG_DIRECTION_VIEWER, - LOG_DIRECTION_CNT, -} log_direction_t; - -/** * Enumerations for log owner */ typedef enum { @@ -67,56 +56,12 @@ typedef enum { LOG_ALL = 0xFFFFFFFF, } log_owner_t; -/** - * Enumerations for log class - */ -typedef enum { - LOG_CLASS_NONE = 0x00, - LOG_CLASS_VERBOSE = 0x01, - LOG_CLASS_DEBUG = 0x02, - LOG_CLASS_INFO = 0x04, - LOG_CLASS_WARNING = 0x08, - LOG_CLASS_ERR = 0x10, - LOG_CLASS_CRITICAL = 0x20, - LOG_CLASS_ALL = 0xFF, -} log_class_t; - -#if defined(MM_DEBUG_FLAG) -/** - * This function print log. - * - * @param owner [in] owner of log message. - * @param class [in] class of log message. - * @param msg [in] message to print. - * - * @remark Print log message. Similar to printf except owner and class. - * @see log_print_rel - */ -#define log_print_dbg(owner, class, msg, args...) log_print_rel(owner, class, msg, ##args) - -/** - * This function assert condition. - * - * @param condition [in] condition for check - * - * @remark If condition is not true, system is aborted. Same to assert function. - * @see log_assert_rel - */ -#define log_assert_dbg(condition) log_assert_rel((condition)) - -#else -#define log_print_dbg(owner, class, msg, args...) -#define log_assert_dbg(condition) -#endif - #define _SLOG(class, tag, format, arg...) \ SLOG(class, tag, format, ##arg) #define _SECURE_SLOG(class, tag, format, arg...) \ SECURE_SLOG(class, tag, format, ##arg) -#include - #define mm_log_by_owner(owner, class, msg, args...) \ do { \ switch (owner) { \ diff --git a/packaging/libmm-common-0.2.55.tar.gz b/packaging/libmm-common-0.2.55.tar.gz deleted file mode 100644 index 75c09c3..0000000 Binary files a/packaging/libmm-common-0.2.55.tar.gz and /dev/null differ diff --git a/packaging/libmm-common.spec b/packaging/libmm-common.spec index 4293573..0fd30cb 100644 --- a/packaging/libmm-common.spec +++ b/packaging/libmm-common.spec @@ -1,6 +1,6 @@ Name: libmm-common Summary: Multimedia Framework Common Lib -Version: 0.2.106 +Version: 0.2.107 Release: 0 Group: Multimedia/Libraries License: Apache-2.0