make the global var be the static var 98/215398/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 8 Oct 2019 01:53:05 +0000 (10:53 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 8 Oct 2019 01:53:05 +0000 (10:53 +0900)
Change-Id: Idc8d940a7534686c8f7be6391139ebbebb353258

src/tbm_bufmgr_nexell.c

index 8fd92680b59a78cac3795c86f6b3c155380514a7..eec6789d4e568efa70c080ac4557d2f0ae26c554 100644 (file)
@@ -156,7 +156,7 @@ struct _tbm_bufmgr_nexell {
        tbm_bufmgr bufmgr;
 };
 
-char *STR_DEVICE[] = {
+static char *STR_DEVICE[] = {
        "DEF",
        "CPU",
        "2D",
@@ -164,7 +164,7 @@ char *STR_DEVICE[] = {
        "MM"
 };
 
-char *STR_OPT[] = {
+static char *STR_OPT[] = {
        "NONE",
        "RD",
        "WR",
@@ -172,7 +172,7 @@ char *STR_OPT[] = {
 };
 
 
-uint32_t tbm_nexell_color_format_list[TBM_COLOR_FORMAT_COUNT] = {
+static uint32_t tbm_nexell_color_format_list[TBM_COLOR_FORMAT_COUNT] = {
                                                                    TBM_FORMAT_ARGB8888,
                                                                    TBM_FORMAT_XRGB8888,
                                                                    TBM_FORMAT_NV12,