changeset 66:5528dd55f222

8067288: Add const qualifier in properties and serial Summary: Minor fixes Reviewed-by: snazarki Contributed-by: alexey.mironov@oracle.com
author snazarki
date Mon, 15 Dec 2014 15:37:13 +0400
parents 4f321d3dab0c
children f87ca4482faf
files src/se/native/com/oracle/dio/javacall_properties.c src/se/native/com/oracle/dio/javacall_properties.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/se/native/com/oracle/dio/javacall_properties.c	Mon Dec 15 15:34:18 2014 +0400
+++ b/src/se/native/com/oracle/dio/javacall_properties.c	Mon Dec 15 15:37:13 2014 +0400
@@ -42,7 +42,7 @@
  */
 javacall_result javacall_get_property(const char* key,
                                       javacall_property_type type,
-                                      char** result) {
+                                      const char** result) {
     return JAVACALL_FAIL; //  stubbed, an implementation must be added
 }
 
--- a/src/se/native/com/oracle/dio/javacall_properties.h	Mon Dec 15 15:34:18 2014 +0400
+++ b/src/se/native/com/oracle/dio/javacall_properties.h	Mon Dec 15 15:37:13 2014 +0400
@@ -63,7 +63,7 @@
  */
 javacall_result javacall_get_property(const char* key,
                                       javacall_property_type type,
-                                      char** result);
+                                      const char** result);
 
 /**
  * Gets the value of the specified property in the specified