mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Enforce a standard header file guard symbol name
Require that all headers are guarded by a symbol named LIBVIRT_$FILENAME where $FILENAME is the uppercased filename, with all characters outside a-z changed into '_'. Note we do not use a leading __ because that is technically a namespace reserved for the toolchain. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
# include "cpu_conf.h"
|
||||
# include "qemu/qemu_driver.h"
|
||||
# include "qemu/qemu_domain.h"
|
||||
# define __QEMU_CAPSPRIV_H_ALLOW__
|
||||
# define LIBVIRT_QEMU_CAPSPRIV_H_ALLOW
|
||||
# include "qemu/qemu_capspriv.h"
|
||||
# include "virstring.h"
|
||||
# include "virfilecache.h"
|
||||
|
||||
Reference in New Issue
Block a user