From: hj kim Date: Tue, 24 Mar 2020 07:34:21 +0000 (+0900) Subject: Move some #define from header file X-Git-Tag: accepted/tizen/unified/20200331.030833~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F24%2F228624%2F1;p=platform%2Fcore%2Fmultimedia%2Flibmedia-service.git Move some #define from header file Change-Id: I5b04e3a32a090733f234f5ed26a28b546bca15b8 --- diff --git a/src/common/media-svc-localize_ch.c b/src/common/media-svc-localize_ch.c index 6dc7435..b805d9c 100755 --- a/src/common/media-svc-localize_ch.c +++ b/src/common/media-svc-localize_ch.c @@ -29,10 +29,11 @@ #include "media-svc-util.h" +#define array_sizeof(a) (sizeof(a) / sizeof(a[0])) + +#define CHINESE_PINYIN_SPELL_MAX_LEN 15 #define CHINESE_COUNT 20902 #define CHINESE_DUOYINZI_MAX_COUNT 6 - - #define CHINESE_UNICODE_START 0x4E00 #define CHINESE_UNICODE_END 0x9FA5 diff --git a/src/include/common/media-svc-localize_ch.h b/src/include/common/media-svc-localize_ch.h index b232afb..803e871 100755 --- a/src/include/common/media-svc-localize_ch.h +++ b/src/include/common/media-svc-localize_ch.h @@ -19,10 +19,6 @@ #ifndef __MEDIA_SERVICE_LOCALIZE_CH_H__ #define __MEDIA_SERVICE_LOCALIZE_CH_H__ -#define CHINESE_PINYIN_SPELL_MAX_LEN 15 - -#define array_sizeof(a) (sizeof(a) / sizeof(a[0])) - typedef struct { char *pinyin_initial; char *pinyin_name;