diff options
author | Eric Blake <eblake@redhat.com> | 2012-03-01 17:21:08 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-03-02 06:22:43 -0700 |
commit | 5c3a15647d1c345b64326b97b3c21597f6f7e1ce (patch) | |
tree | 5c78af886bcdd0adcdee05d1bb01b5b4b7b18c3f /daemon/libvirtd.c | |
parent | avoid global variable shadowed (diff) | |
download | libvirt-5c3a15647d1c345b64326b97b3c21597f6f7e1ce.tar.gz libvirt-5c3a15647d1c345b64326b97b3c21597f6f7e1ce.tar.bz2 libvirt-5c3a15647d1c345b64326b97b3c21597f6f7e1ce.zip |
build: prohibit cross-inclusion
Make it easier to detect invalid cross-directory includes, by
adding a syntax check. The check is designed to be extensible:
the default case lists only the non-driver directories, and
specific directories can list a different set (for example,
util/ can only use itself, network/ can only use itself, util/,
or conf/).
* .gnulib: Update to latest, for syntax check improvment.
* cfg.mk (sc_prohibit_cross_inclusion): New check.
(sc_prohibit_strncmp, sc_libvirt_unmarked_diagnostics): Simplify.
Diffstat (limited to 'daemon/libvirtd.c')
0 files changed, 0 insertions, 0 deletions