common: change file name system_info_no_file.c to system_info_file.c 41/40641/3
authorTaeyoung Kim <ty317.kim@samsung.com>
Sat, 6 Jun 2015 13:00:20 +0000 (22:00 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Tue, 9 Jun 2015 08:50:38 +0000 (01:50 -0700)
- The codes are related with reading information from certain files.
  Thus the name is changed from 'no_file' to 'file'

Change-Id: I238a4338b9494d5349362b7fe98750ea022be730
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
include/system_info_private.h
src/system_info.c
src/system_info_file.c [moved from src/system_info_no_file.c with 97% similarity]

index 1d3625c..00b671b 100644 (file)
@@ -107,7 +107,7 @@ int system_info_get_build_date(system_info_key_e key, system_info_data_type_e da
 int system_info_get_build_time(system_info_key_e key, system_info_data_type_e data_type, void **value);
 int system_info_get_tethering_supported(system_info_key_e key, system_info_data_type_e data_type, void **value);
 
-int system_info_get_no_file(const char *key, void **value);
+int system_info_get_file(const char *key, void **value);
 
 #ifdef __cplusplus
 }
index ecbdd8f..1e85601 100644 (file)
@@ -338,7 +338,7 @@ API int system_info_get_platform_string(const char *key, char **value)
                return SYSTEM_INFO_ERROR_IO_ERROR;
        }
 
-       ret = system_info_get_no_file(key, (void**)&string);
+       ret = system_info_get_file(key, (void**)&string);
        if (ret == 0) {
                *value = string;
                return SYSTEM_INFO_ERROR_NONE;
similarity index 97%
rename from src/system_info_no_file.c
rename to src/system_info_file.c
index 583ea70..e44c2a8 100644 (file)
@@ -65,7 +65,7 @@ static int get_tizenid(char **value)
        return 0;
 }
 
-int system_info_get_no_file(const char *key, void **value)
+int system_info_get_file(const char *key, void **value)
 {
        char *p_key;