Remove build warnings 24/70624/1 accepted/tizen/common/20160520.171141 accepted/tizen/ivi/20160520.081430 accepted/tizen/mobile/20160520.081408 accepted/tizen/tv/20160520.081137 accepted/tizen/wearable/20160520.081356 submit/tizen/20160520.024139
authorByungWoo Lee <bw1212.lee@samsung.com>
Fri, 20 May 2016 01:47:25 +0000 (10:47 +0900)
committerByungWoo Lee <bw1212.lee@samsung.com>
Fri, 20 May 2016 01:47:25 +0000 (10:47 +0900)
Change-Id: I6ff3cc8b83b27039d3ea36f7881768b09e54dcd2

error_messages/key-manager.xml
include/private/tizen_error_private.h
include/tizen_error.h
tool/make_msg_header.py

index 84d542a..8ea5be2 100644 (file)
@@ -66,7 +66,7 @@
        </error>
        <error name="CKMC_ERROR_FILE_SYSTEM">
                <value>TIZEN_ERROR_KEY_MANAGER | 0x11</value>
-               <msg>Save key\/certificate\/pkcs12 failed because of file system error</msg>
+               <msg>Save key/certificate/pkcs12 failed because of file system error</msg>
        </error>
        <error name="CKMC_ERROR_UNKNOWN">
                <value>TIZEN_ERROR_KEY_MANAGER | 0xFF</value>
index d8e30f4..30a616b 100644 (file)
@@ -27,8 +27,8 @@ extern "C" {
 
 typedef struct tizen_err_info {
        int value;
-       const char *name;
-       const char *msg;
+       char *name;
+       char *msg;
 } err_info;
 
 static err_info err_list[] = {
@@ -276,7 +276,7 @@ static err_info err_list[] = {
        ERR_ENTRY("CKMC_ERROR_INVALID_FORMAT", TIZEN_ERROR_KEY_MANAGER | 0x0E, "A provided file or binary has not a valid format"),
        ERR_ENTRY("CKMC_ERROR_FILE_ACCESS_DENIED", TIZEN_ERROR_KEY_MANAGER | 0x0F, "A provided file doesn't exist or cannot be accessed in the file system"),
        ERR_ENTRY("CKMC_ERROR_NOT_EXPORTABLE", TIZEN_ERROR_KEY_MANAGER | 0x10, "The data is saved as unexportable so it cannot be leaked"),
-       ERR_ENTRY("CKMC_ERROR_FILE_SYSTEM", TIZEN_ERROR_KEY_MANAGER | 0x11, "Save key\/certificate\/pkcs12 failed because of file system error"),
+       ERR_ENTRY("CKMC_ERROR_FILE_SYSTEM", TIZEN_ERROR_KEY_MANAGER | 0x11, "Save key/certificate/pkcs12 failed because of file system error"),
        ERR_ENTRY("CKMC_ERROR_UNKNOWN", TIZEN_ERROR_KEY_MANAGER | 0xFF, "The error with unknown reason"),
        ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_FAILED", TIZEN_ERROR_MEDIA_CONTENT | 0x01, "DB operation failed "),
        ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_BUSY", TIZEN_ERROR_MEDIA_CONTENT | 0x02, "DB operation BUSY"),
index 5813256..5f31c3c 100644 (file)
@@ -43,7 +43,7 @@ extern "C" {
 /* Check if error or not */
 #define TIZEN_ERROR_IS_ERROR(x) (!TIZEN_ERROR_IS_OK(x))
 
-/* Check if slp error or not */
+/* Check if tizen error or not */
 #define TIZEN_ERROR_IS_PLATFORM_ERROR(x) (TIZEN_ERROR_MIN_PLATFORM_ERROR <= (x) && (x) < 0)
 
 /* Application Error Class */
index 3f10e03..13c58fa 100755 (executable)
@@ -21,8 +21,8 @@ fp.write( "#endif\n\n" )
 fp.write( "#define ERR_ENTRY(name, value, msg) {value, name, msg}\n\n" )
 fp.write( "typedef struct tizen_err_info {\n" )
 fp.write( "\tint value;\n" )
-fp.write( "\tconst char *name;\n" )
-fp.write( "\tconst char *msg;\n" )
+fp.write( "\tchar *name;\n" )
+fp.write( "\tchar *msg;\n" )
 fp.write( "} err_info;\n\n" )
 
 fp.write( "static err_info err_list[] = {\n" );