[Libguestfs] [PATCH libguestfs 08/13] wc, blockdev: avoid warnings about discarding "const" qualifiers

Richard W.M. Jones rjones at redhat.com
Mon Aug 17 09:22:15 UTC 2009


On Mon, Aug 17, 2009 at 11:10:59AM +0200, Jim Meyering wrote:
> From: Jim Meyering <meyering at redhat.com>
> 
> * daemon/wc.c (wc): Make "flag" param const.
> * daemon/blockdev.c (call_blockdev): Likewise, for "switc".

ACK.

I guess these were char * because that's how the daemon code
previously declared strings, before your other set of changes.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list