<html><body>
<p>+1<br>
<br>
Sharad Mishra<br>
Open Virtualization<br>
Linux Technology Center<br>
IBM<br>
<br>
<img width="16" height="16" src="cid:1__=07BBF29BDFEA47158f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Chip Vincent ---12/29/2010 01:53:07 PM---# HG changeset patch"><font color="#424282">Chip Vincent ---12/29/2010 01:53:07 PM---# HG changeset patch</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:2__=07BBF29BDFEA47158f9e8a93df938@us.ibm.com); background-repeat: no-repeat; " width="40%">
<ul>
<ul>
<ul>
<ul><b><font size="2">Chip Vincent <cvincent@linux.vnet.ibm.com></font></b><font size="2"> </font><br>
<font size="2">Sent by: libvirt-cim-bounces@redhat.com</font>
<p><font size="2">12/29/2010 01:51 PM</font>
<table border="1">
<tr valign="top"><td width="168" bgcolor="#FFFFFF"><div align="center"><font size="2">Please respond to<br>
List for discussion and development of libvirt CIM      <libvirt-cim@redhat.com></font></div></td></tr>
</table>
</ul>
</ul>
</ul>
</ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=07BBF29BDFEA47158f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=07BBF29BDFEA47158f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">List for discussion and development of libvirt CIM <libvirt-cim@redhat.com></font></td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=07BBF29BDFEA47158f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=07BBF29BDFEA47158f9e8a93df938@us.ibm.com" border="0" alt=""><br>
</td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=07BBF29BDFEA47158f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=07BBF29BDFEA47158f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">[Libvirt-cim] [PATCH] (#2) Restore const to interface to avoid   warnings</font></td></tr>
</table>

<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:3__=07BBF29BDFEA47158f9e8a93df938@us.ibm.com" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:3__=07BBF29BDFEA47158f9e8a93df938@us.ibm.com" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<tt># HG changeset patch<br>
# User Chip Vincent <cvincent@us.ibm.com><br>
# Date 1293659369 18000<br>
# Node ID 4339c67a849ce34af7d7df62860431be4a879f31<br>
# Parent  b2f96d5cfbe7e4c8608fcee30b6007457677adbd<br>
Restore const to interface to avoid warnings.<br>
<br>
This change simply tweaks the interface to avoid build warnings (sadly <br>
buried in macros).<br>
<br>
Signed-off-by: Chip Vincent <cvincent@us.ibm.com><br>
<br>
diff -r b2f96d5cfbe7 -r 4339c67a849c std_indication.c<br>
--- a/std_indication.c  Wed Dec 29 16:42:31 2010 -0500<br>
+++ b/std_indication.c  Wed Dec 29 16:49:29 2010 -0500<br>
@@ -98,7 +98,7 @@<br>
 <br>
 static CMPIStatus default_raise(const CMPIBroker *broker,<br>
                                 const CMPIContext *context,<br>
-                                CMPIObjectPath *ref,<br>
+                                const CMPIObjectPath *ref,<br>
                                 CMPIInstance *ind)<br>
 {<br>
         CMPIStatus s = {CMPI_RC_OK, NULL};<br>
@@ -117,7 +117,7 @@<br>
 static CMPIStatus raise(struct std_indication_ctx *ctx,<br>
                         const CMPIContext *context,<br>
                         const CMPIArgs *argsin,<br>
-                        CMPIObjectPath *ref)<br>
+                        const CMPIObjectPath *ref)<br>
 {<br>
         bool enabled;<br>
         CMPIInstance *inst;<br>
@@ -301,7 +301,7 @@<br>
 CMPIStatus stdi_handler(CMPIMethodMI *self,<br>
                         const CMPIContext *context,<br>
                         const CMPIResult *results,<br>
-                        CMPIObjectPath *reference,<br>
+                        const CMPIObjectPath *reference,<br>
                         const char *methodname,<br>
                         const CMPIArgs *argsin,<br>
                         CMPIArgs *argsout)<br>
diff -r b2f96d5cfbe7 -r 4339c67a849c std_indication.h<br>
--- a/std_indication.h  Wed Dec 29 16:42:31 2010 -0500<br>
+++ b/std_indication.h  Wed Dec 29 16:49:29 2010 -0500<br>
@@ -41,7 +41,7 @@<br>
 <br>
 typedef CMPIStatus (*raise_indication_t)(const CMPIBroker *broker,<br>
                                          const CMPIContext *ctx,<br>
-                                         CMPIObjectPath *ref,<br>
+                                         const CMPIObjectPath *ref,<br>
                                          const CMPIInstance *ind);<br>
 <br>
 typedef CMPIStatus (*trigger_indication_t)(const CMPIContext *ctx);<br>
<br>
-- <br>
Chip Vincent<br>
Open Virtualization, Linux Technology Center<br>
IBM Systems & Technology Group<br>
phone: 919-254-4482, T/L 444-4482<br>
email: cvincent@us.ibm.com<br>
<br>
_______________________________________________<br>
Libvirt-cim mailing list<br>
Libvirt-cim@redhat.com<br>
</tt><tt><a href="https://www.redhat.com/mailman/listinfo/libvirt-cim">https://www.redhat.com/mailman/listinfo/libvirt-cim</a></tt><tt><br>
</tt><br>
</body></html>