diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2018-12-13 14:53:50 +0000 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2018-12-14 10:47:13 +0000 |
commit | 568a417224e7b4656b9959b03154d45566480d65 (patch) | |
tree | 66b75820f39f352933581634d3d16e55a3431b67 /tests/testutilsxen.h | |
parent | 4cfd7090212cbe38572274a7fff2475f4f8e87b7 (diff) | |
download | libvirt-568a417224e7b4656b9959b03154d45566480d65.tar.gz |
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>
Diffstat (limited to 'tests/testutilsxen.h')
-rw-r--r-- | tests/testutilsxen.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testutilsxen.h b/tests/testutilsxen.h index 0fceb93ae8..9164a59507 100644 --- a/tests/testutilsxen.h +++ b/tests/testutilsxen.h @@ -14,8 +14,8 @@ * <http://www.gnu.org/licenses/>. */ -#ifndef _TESTUTILSXEN_H_ -# define _TESTUTILSXEN_H_ +#ifndef LIBVIRT_TESTUTILSXEN_H +# define LIBVIRT_TESTUTILSXEN_H # include "capabilities.h" # ifdef WITH_LIBXL @@ -24,4 +24,4 @@ virCapsPtr testXLInitCaps(void); -#endif /* _TESTUTILSXEN_H_ */ +#endif /* LIBVIRT_TESTUTILSXEN_H */ |