]> xenbits.xensource.com Git - libvirt.git/commit
Disallow inclusion of files from src/conf into src/utils
authorPeter Krempa <pkrempa@redhat.com>
Mon, 20 Feb 2017 13:54:12 +0000 (14:54 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 20 Feb 2017 14:12:07 +0000 (15:12 +0100)
commitb4c73106333c0ede54d5c4225f7008297260b743
tree24eba20b1e623ac474751904157ba3dc0bba9756
parent3427b36cc1744eb29554900f13c21b4d5de32a62
Disallow inclusion of files from src/conf into src/utils

The utils code should stay separated from other code (except for very
well justified cases). Unfortunately commit 272769beccd7479c75e700a6cb
made it trivial to break the separation (and not get slapped by the
syntax-check rule) by adding -I src/conf to the CFLAGS for utils.

Remove this shortcut and except the two offenders from the syntax check
so that the codebase can be kept separated.
cfg.mk
src/Makefile.am
src/util/virclosecallbacks.h
src/util/virhostdev.h