# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1204317078 28800
# Node ID 55cdc06dc576fe5418292622daf15acd9b7c3dc8
# Parent 282e58e792ba318b63329420d3918b02e9af7dd5
Fix const usage for F9 compile
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 282e58e792ba -r 55cdc06dc576 instance_util.c
--- a/instance_util.c Fri Feb 29 11:28:16 2008 -0800
+++ b/instance_util.c Fri Feb 29 12:31:18 2008 -0800
@@ -255,7 +255,7 @@ CMPIInstance *cu_dup_instance(const CMPI
const char *cu_classname_from_inst(CMPIInstance *inst)
{
- char *ret = NULL;
+ const char *ret = NULL;
CMPIObjectPath *ref;
ref = CMGetObjectPath(inst, NULL);
diff -r 282e58e792ba -r 55cdc06dc576 std_indication.c
--- a/std_indication.c Fri Feb 29 11:28:16 2008 -0800
+++ b/std_indication.c Fri Feb 29 12:31:18 2008 -0800
@@ -183,7 +183,7 @@ CMPIStatus stdi_deliver(const CMPIBroker
}
CMPIStatus stdi_set_ind_filter_state(struct std_indication_ctx *ctx,
- char *ind_name,
+ const char *ind_name,
bool state)
{
CMPIStatus s = {CMPI_RC_OK, NULL};
@@ -212,7 +212,7 @@ CMPIStatus stdi_activate_filter(CMPIIndi
{
CMPIStatus s = {CMPI_RC_OK, NULL};
struct std_indication_ctx *_ctx;
- char *cn = NULL;
+ const char *cn = NULL;
_ctx = (struct std_indication_ctx *)mi->hdl;
cn = CLASSNAME(op);
@@ -237,7 +237,7 @@ CMPIStatus stdi_deactivate_filter(CMPIIn
{
CMPIStatus s = {CMPI_RC_OK, NULL};
struct std_indication_ctx *_ctx;
- char *cn = NULL;
+ const char *cn = NULL;
_ctx = (struct std_indication_ctx *)mi->hdl;
cn = CLASSNAME(op);
diff -r 282e58e792ba -r 55cdc06dc576 std_indication.h
--- a/std_indication.h Fri Feb 29 11:28:16 2008 -0800
+++ b/std_indication.h Fri Feb 29 12:31:18 2008 -0800
@@ -144,7 +144,7 @@ CMPIStatus stdi_cleanup(CMPIMethodMI *se
CMPIBoolean terminating);
CMPIStatus stdi_set_ind_filter_state(struct std_indication_ctx *ctx,
- char *ind_name,
+ const char *ind_name,
bool state);
/* This doesn't work, but should be made to. */