]> git.ipfire.org Git - thirdparty/libvirt.git/commit
enforce the "include <config.h> first" rule
authorJim Meyering <meyering@redhat.com>
Wed, 17 Dec 2008 17:23:21 +0000 (17:23 +0000)
committerJim Meyering <meyering@redhat.com>
Wed, 17 Dec 2008 17:23:21 +0000 (17:23 +0000)
commit4cea12bb69743df58fa35b7ff8a9a7ac35f32ee5
tree97c6cb1760dc82a112d5325aebc861ccd9c3f043
parente4c7e123003f6c2192c30ff903e4f276800ff187
enforce the "include <config.h> first" rule

* qemud/Makefile.am: Ensure that the generated remote_protocol.c
includes <config.h> first.
* Makefile.maint (sc_require_config_h_first): New rule, so that
"make syntax-check" enforces this.
* .x-sc_require_config_h_first: New file.
* Makefile.am (.x-sc_require_config_h_first): Add it.
* qemud/remote_protocol.x: Don't include <config.h> here.
* qemud/remote_protocol.c: Regenerate.
.x-sc_require_config_h_first [new file with mode: 0644]
ChangeLog
Makefile.am
Makefile.maint
qemud/Makefile.am
qemud/remote_protocol.c
qemud/remote_protocol.h
qemud/remote_protocol.x