[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Mon, Aug 17, 2009 at 11:10:59AM +0200, Jim Meyering wrote:
> From: Jim Meyering <meyering 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/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]