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

Sharad Mishra snmishra at us.ibm.com
Tue Dec 21 17:08:12 UTC 2010


+1

Sharad Mishra
Open Virtualization
Linux Technology Center
IBM

libvirt-cim-bounces at redhat.com wrote on 12/21/2010 08:11:57 AM:

> Chip Vincent <cvincent at linux.vnet.ibm.com>
> Sent by: libvirt-cim-bounces at redhat.com
>
> 12/21/10 08:11 AM
>
> Please respond to
> List for discussion and development of libvirt CIM
<libvirt-cim at redhat.com>
>
> To
>
> List for discussion and development of libvirt CIM
<libvirt-cim at redhat.com>
>
> cc
>
> Subject
>
> [Libvirt-cim] [PATCH] Restore const to interface to avoid warnings
>
> # 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
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20101221/f3b31647/attachment.htm>


More information about the Libvirt-cim mailing list