[Libguestfs] [PATCH libguestfs 04/13] avoid warning about old-style no-param function definition

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


On Mon, Aug 17, 2009 at 11:10:55AM +0200, Jim Meyering wrote:
> From: Jim Meyering <meyering at redhat.com>
> 
> * daemon/df.c (do_df, do_df_h): Add "void".
> * sync.c (do_sync): Likewise.

I thought it could be omitted for function definitions (not
for forward declarations)?  Anyhow, ACK.

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