Eric Blake
1add9c78da
maint: don't use config.h in .h files
Enforce the rule that .h files don't need to (redundantly)
include <config.h>.
* cfg.mk (sc_prohibit_config_h_in_headers): New rule.
(_virsh_includes): Delete; instead, inline a smaller number of
exclusions...
(exclude_file_name_regexp--sc_require_config_h)
(exclude_file_name_regexp--sc_require_config_h_first): ...here.
* daemon/libvirtd.h (includes): Fix offenders.
* src/driver.h (includes): Likewise.
* src/gnutls_1_0_compat.h (includes): Likewise.
* src/libxl/libxl_conf.h (includes): Likewise.
* src/libxl/libxl_driver.h (includes): Likewise.
* src/lxc/lxc_conf.h (includes): Likewise.
* src/lxc/lxc_driver.h (includes): Likewise.
* src/lxc/lxc_fuse.h (includes): Likewise.
* src/network/bridge_driver.h (includes): Likewise.
* src/phyp/phyp_driver.h (includes): Likewise.
* src/qemu/qemu_conf.h (includes): Likewise.
* src/util/virnetlink.h (includes): Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
2013-06-05 05:53:25 -06:00
..
2013-05-21 23:41:45 +08:00
2012-09-20 16:30:55 -06:00
2012-05-28 11:00:01 +01:00
2013-05-16 16:28:53 +01:00
2012-10-12 00:03:43 +02:00
2013-06-05 05:53:25 -06:00
2012-03-02 16:32:37 +01:00
2011-03-04 22:43:55 +08:00
2010-03-10 11:27:02 +01:00
2012-08-15 21:40:39 +08:00
2012-11-01 13:17:26 +00:00
2010-03-10 11:27:02 +01:00
2012-10-21 13:21:07 -04:00
2013-03-04 06:28:57 -07:00
2012-02-01 16:04:30 +01:00
2011-10-05 14:49:35 -06:00
2010-03-10 11:27:02 +01:00
2012-02-01 16:04:30 +01:00
2013-05-20 14:03:48 -06:00
2013-05-30 10:36:16 -06:00
2013-01-15 18:16:53 +00:00
2013-04-12 11:27:57 +01:00
2012-09-20 16:30:55 -06:00
2012-05-28 11:07:12 +01:00
2013-04-19 14:31:16 -06:00