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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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