[libvirt] [PATCH 5/6] Enable use of -Wold-style-definition compiler flag
Eric Blake
eblake at redhat.com
Mon Apr 4 20:44:21 UTC 2011
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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110404/b7de07eb/attachment-0001.sig>
More information about the libvir-list
mailing list