81 patches to gnulib, picks up several new syntax checks. * .gnulib: Update to latest. * .x-sc_prohibit_always_true_header_tests: New file. * bootstrap.conf (gnulib_modules): Add sched. * src/util/processinfo.c (includes): <sched.h> is now guaranteed. * src/network/bridge_driver.c (includes): Drop useless <strings.h>. * src/openvz/openvz_conf.c (includes): Likewise. * src/openvz/openvz_driver.c (includes): Likewise. * src/phyp/phyp_driver.c (includes): Likewise. * src/qemu/qemu_driver.c (includes): Likewise. * src/uml/uml_driver.c (includes): Likewise. --- .gnulib | 2 +- .x-sc_prohibit_always_true_header_tests | 4 ++++ bootstrap.conf | 1 + src/network/bridge_driver.c | 1 - src/openvz/openvz_conf.c | 2 +- src/openvz/openvz_driver.c | 2 +- src/phyp/phyp_driver.c | 1 - src/qemu/qemu_driver.c | 1 - src/uml/uml_driver.c | 1 - src/util/processinfo.c | 6 ++---- 10 files changed, 10 insertions(+), 11 deletions(-) create mode 100644 .x-sc_prohibit_always_true_header_tests diff --git a/.gnulib b/.gnulib index 7c1b995..e2843e3 160000 --- a/.gnulib +++ b/.gnulib @@ -1 +1 @@ -Subproject commit 7c1b995a7041ea366acafeb8632e1080f349f03f +Subproject commit e2843e30e8c2885eb8cbc77e20c4e0f4d562d44d diff --git a/.x-sc_prohibit_always_true_header_tests b/.x-sc_prohibit_always_true_header_tests new file mode 100644 index 0000000..ff753ce --- /dev/null +++ b/.x-sc_prohibit_always_true_header_tests @@ -0,0 +1,4 @@ +ChangeLog* +docs/news.html.in +python/libvirt-override.c +python/typewrappers.c diff --git a/bootstrap.conf b/bootstrap.conf index baf0bc2..1e93490 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -46,6 +46,7 @@ posix-shell pthread recv random_r +sched send setsockopt socket diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c index 132392b..8432bbc 100644 --- a/src/network/bridge_driver.c +++ b/src/network/bridge_driver.c @@ -29,7 +29,6 @@ #include <limits.h> #include <string.h> #include <stdio.h> -#include <strings.h> #include <stdarg.h> #include <stdlib.h> #include <unistd.h> diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c index 8735cc1..b52f4ac 100644 --- a/src/openvz/openvz_conf.c +++ b/src/openvz/openvz_conf.c @@ -1,6 +1,7 @@ /* * openvz_conf.c: config functions for managing OpenVZ VEs * + * Copyright (C) 2010 Red Hat, Inc. * Copyright (C) 2006, 2007 Binary Karma * Copyright (C) 2006 Shuveb Hussain * Copyright (C) 2007 Anoop Joe Cyriac @@ -33,7 +34,6 @@ #include <fcntl.h> #include <sys/types.h> #include <dirent.h> -#include <strings.h> #include <time.h> #include <sys/stat.h> #include <unistd.h> diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c index 00b8a14..ce159d0 100644 --- a/src/openvz/openvz_driver.c +++ b/src/openvz/openvz_driver.c @@ -1,6 +1,7 @@ /* * openvz_driver.c: core driver methods for managing OpenVZ VEs * + * Copyright (C) 2010 Red Hat, Inc. * Copyright (C) 2006, 2007 Binary Karma * Copyright (C) 2006 Shuveb Hussain * Copyright (C) 2007 Anoop Joe Cyriac @@ -33,7 +34,6 @@ #include <limits.h> #include <string.h> #include <stdio.h> -#include <strings.h> #include <stdarg.h> #include <stdlib.h> #include <unistd.h> diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c index 467ea19..cec99b1 100644 --- a/src/phyp/phyp_driver.c +++ b/src/phyp/phyp_driver.c @@ -29,7 +29,6 @@ #include <sys/stat.h> #include <limits.h> #include <string.h> -#include <strings.h> #include <stdio.h> #include <stdarg.h> #include <stdlib.h> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 704f824..752551b 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -31,7 +31,6 @@ #include <string.h> #include <stdbool.h> #include <stdio.h> -#include <strings.h> #include <stdarg.h> #include <stdlib.h> #include <unistd.h> diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c index 644ac8b..63fe808 100644 --- a/src/uml/uml_driver.c +++ b/src/uml/uml_driver.c @@ -29,7 +29,6 @@ #include <limits.h> #include <string.h> #include <stdio.h> -#include <strings.h> #include <stdarg.h> #include <stdlib.h> #include <unistd.h> diff --git a/src/util/processinfo.c b/src/util/processinfo.c index ed2130a..b1b1737 100644 --- a/src/util/processinfo.c +++ b/src/util/processinfo.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 Red Hat, Inc. + * Copyright (C) 2009-2010 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -21,9 +21,7 @@ #include <config.h> -#if HAVE_SCHED_H -# include <sched.h> -#endif +#include <sched.h> #include "processinfo.h" #include "virterror_internal.h" -- 1.6.6.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list