summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2010-07-16 17:30:00 +0100
committerDaniel P. Berrange <berrange@redhat.com>2011-04-05 11:40:04 +0100
commita4e37ff1a35610cf9ba194ac760590dd93d4b0a5 (patch)
tree2056f8002025ae0309161561dc5d935f8333268b /m4
parentEnable use of -Wmissing-noreturn (diff)
downloadlibvirt-a4e37ff1a35610cf9ba194ac760590dd93d4b0a5.tar.gz
libvirt-a4e37ff1a35610cf9ba194ac760590dd93d4b0a5.tar.bz2
libvirt-a4e37ff1a35610cf9ba194ac760590dd93d4b0a5.zip
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
Diffstat (limited to 'm4')
-rw-r--r--m4/virt-compile-warnings.m41
1 files changed, 0 insertions, 1 deletions
diff --git a/m4/virt-compile-warnings.m4 b/m4/virt-compile-warnings.m4
index 27413b09f..7e252d551 100644
--- a/m4/virt-compile-warnings.m4
+++ b/m4/virt-compile-warnings.m4
@@ -62,7 +62,6 @@ AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[
dontwarn="$dontwarn -Wcast-qual"
dontwarn="$dontwarn -Wconversion"
dontwarn="$dontwarn -Wsign-conversion"
- dontwarn="$dontwarn -Wold-style-definition"
dontwarn="$dontwarn -Wpacked"
dontwarn="$dontwarn -Wunused-macros"
dontwarn="$dontwarn -Woverlength-strings"