Re: [PATCH 5/6] Enable use of -Wold-style-definition compiler flag

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

 



On 04/04/2011 10:20 AM, Daniel P. Berrange wrote:
> A couple of functions were declared using the old style foo()
> for no-parameters, instead of foo(void)
> 
> * src/xen/xen_hypervisor.c, tests/testutils.c: Replace () with (void)
>   in some function declarations
> * m4/virt-compile-warnings.m4: Enable -Wold-style-definition
> ---
>  m4/virt-compile-warnings.m4 |    1 -
>  src/xen/xen_hypervisor.c    |    2 +-
>  tests/testutils.c           |    4 ++--
>  3 files changed, 3 insertions(+), 4 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]