]> xenbits.xensource.com Git - libvirt.git/commit
Enable use of -Wold-style-definition compiler flag
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 16 Jul 2010 16:30:00 +0000 (17:30 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 5 Apr 2011 10:40:04 +0000 (11:40 +0100)
commita4e37ff1a35610cf9ba194ac760590dd93d4b0a5
tree2056f8002025ae0309161561dc5d935f8333268b
parent329e9dc629658d7b8298b102e8d1486ff6b9221f
Enable use of -Wold-style-definition compiler flag

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
src/xen/xen_hypervisor.c
tests/testutils.c