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 84d542ac0b2213a05ef38eb20b5fe28286492e63..8ea5be2b54a4fb6b6156a862a252cf3b07cf2a3b 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 d8e30f4608b929154db6422c46df651d6bd3f032..30a616bff32cbf806777ba025814278b301d7600 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 58132569f68407c38394e994642daf101478af26..5f31c3cfac0eca467563ab30c3e26afd1a2cd1f6 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 3f10e0320bde557efd508402a74b6e17a927b666..13c58faec99cb133682e434c58f6ce308428bcff 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" );