[Libvirt-cim] [PATCH] Restore const to interface to avoid warnings

Chip Vincent cvincent at linux.vnet.ibm.com
Tue Dec 21 16:11:57 UTC 2010


# HG changeset patch
# User Chip Vincent <cvincent at us.ibm.com>
# Date 1292947743 18000
# Node ID 13fbf3dc3923457a894a063b20077e3fb586e7d3
# Parent  531f151df659f030fe4fab1f6663572af356935f
Restore const to interface to avoid warnings.

This change simply tweaks the interface to avoid build warnings (sadly 
buried in macros).

Signed-off-by: Chip Vincent <cvincent at us.ibm.com>

diff -r 531f151df659 -r 13fbf3dc3923 std_indication.h
--- a/std_indication.h  Wed Dec 08 12:44:27 2010 -0800
+++ b/std_indication.h  Tue Dec 21 11:09:03 2010 -0500
@@ -135,7 +135,7 @@
 CMPIStatus stdi_handler(CMPIMethodMI *self,
                         const CMPIContext *context,
                         const CMPIResult *results,
-                        CMPIObjectPath *reference,
+                        const CMPIObjectPath *reference,
                         const char *methodname,
                         const CMPIArgs *argsin,
                         CMPIArgs *argsout);

-- 
Chip Vincent
Open Virtualization, Linux Technology Center
IBM Systems & Technology Group
phone: 919-254-4482, T/L 444-4482
email: cvincent at us.ibm.com




More information about the Libvirt-cim mailing list