+1
Sharad Mishra
Open Virtualization
Linux Technology Center
IBM
libvirt-cim-bounces@redhat.com wrote on 12/21/2010 08:11:57 AM:
> Chip Vincent <cvincent@linux.vnet.ibm.com>
> Sent by: libvirt-cim-bounces@redhat.com
>
> 12/21/10 08:11 AM
>
> Please respond to
> List for discussion and development of libvirt CIM <libvirt-cim@redhat.com>
>
> To
>
> List for discussion and development of libvirt CIM <libvirt-cim@redhat.com>
>
> cc
>
> Subject
>
> [Libvirt-cim] [PATCH] Restore const to interface to avoid warnings
>
> # HG changeset patch
> # User Chip Vincent <cvincent@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@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@us.ibm.com
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim