From 8731d4920fa8b17374a442d62c2d8c1c6d34967a Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 20 Sep 2017 02:53:08 -0400 Subject: Change header guard format to BOTAN_FOO_H_ ISO C++ reserves names with double underscores in them Closes #512 --- src/lib/base/botan.h | 4 ++-- src/lib/base/buf_comp.h | 4 ++-- src/lib/base/init.h | 4 ++-- src/lib/base/key_spec.h | 4 ++-- src/lib/base/lookup.h | 4 ++-- src/lib/base/scan_name.h | 4 ++-- src/lib/base/secmem.h | 4 ++-- src/lib/base/sym_algo.h | 4 ++-- src/lib/base/symkey.h | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) (limited to 'src/lib/base') diff --git a/src/lib/base/botan.h b/src/lib/base/botan.h index 5054b34b1..189ad5bcf 100644 --- a/src/lib/base/botan.h +++ b/src/lib/base/botan.h @@ -6,8 +6,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_BOTAN_H__ -#define BOTAN_BOTAN_H__ +#ifndef BOTAN_BOTAN_H_ +#define BOTAN_BOTAN_H_ namespace Botan { diff --git a/src/lib/base/buf_comp.h b/src/lib/base/buf_comp.h index a5f12d836..4c2b3a635 100644 --- a/src/lib/base/buf_comp.h +++ b/src/lib/base/buf_comp.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_BUFFERED_COMPUTATION_H__ -#define BOTAN_BUFFERED_COMPUTATION_H__ +#ifndef BOTAN_BUFFERED_COMPUTATION_H_ +#define BOTAN_BUFFERED_COMPUTATION_H_ #include #include diff --git a/src/lib/base/init.h b/src/lib/base/init.h index e0ac8af89..37c053b4c 100644 --- a/src/lib/base/init.h +++ b/src/lib/base/init.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_LIBRARY_INITIALIZER_H__ -#define BOTAN_LIBRARY_INITIALIZER_H__ +#ifndef BOTAN_LIBRARY_INITIALIZER_H_ +#define BOTAN_LIBRARY_INITIALIZER_H_ #include #include diff --git a/src/lib/base/key_spec.h b/src/lib/base/key_spec.h index ad66e81fe..0a08cf27a 100644 --- a/src/lib/base/key_spec.h +++ b/src/lib/base/key_spec.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_KEY_LEN_SPECIFICATION_H__ -#define BOTAN_KEY_LEN_SPECIFICATION_H__ +#ifndef BOTAN_KEY_LEN_SPECIFICATION_H_ +#define BOTAN_KEY_LEN_SPECIFICATION_H_ #include diff --git a/src/lib/base/lookup.h b/src/lib/base/lookup.h index c699e5980..808848d37 100644 --- a/src/lib/base/lookup.h +++ b/src/lib/base/lookup.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_LOOKUP_H__ -#define BOTAN_LOOKUP_H__ +#ifndef BOTAN_LOOKUP_H_ +#define BOTAN_LOOKUP_H_ #include #include diff --git a/src/lib/base/scan_name.h b/src/lib/base/scan_name.h index 394d59760..38f432f3a 100644 --- a/src/lib/base/scan_name.h +++ b/src/lib/base/scan_name.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_SCAN_NAME_H__ -#define BOTAN_SCAN_NAME_H__ +#ifndef BOTAN_SCAN_NAME_H_ +#define BOTAN_SCAN_NAME_H_ #include #include diff --git a/src/lib/base/secmem.h b/src/lib/base/secmem.h index c39429367..cdcbb3236 100644 --- a/src/lib/base/secmem.h +++ b/src/lib/base/secmem.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_SECURE_MEMORY_BUFFERS_H__ -#define BOTAN_SECURE_MEMORY_BUFFERS_H__ +#ifndef BOTAN_SECURE_MEMORY_BUFFERS_H_ +#define BOTAN_SECURE_MEMORY_BUFFERS_H_ #include #include diff --git a/src/lib/base/sym_algo.h b/src/lib/base/sym_algo.h index 45cb5a55e..7dbf600f8 100644 --- a/src/lib/base/sym_algo.h +++ b/src/lib/base/sym_algo.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_SYMMETRIC_ALGORITHM_H__ -#define BOTAN_SYMMETRIC_ALGORITHM_H__ +#ifndef BOTAN_SYMMETRIC_ALGORITHM_H_ +#define BOTAN_SYMMETRIC_ALGORITHM_H_ #include #include diff --git a/src/lib/base/symkey.h b/src/lib/base/symkey.h index 3bbd35306..6f933896d 100644 --- a/src/lib/base/symkey.h +++ b/src/lib/base/symkey.h @@ -5,8 +5,8 @@ * Botan is released under the Simplified BSD License (see license.txt) */ -#ifndef BOTAN_SYMKEY_H__ -#define BOTAN_SYMKEY_H__ +#ifndef BOTAN_SYMKEY_H_ +#define BOTAN_SYMKEY_H_ #include #include -- cgit v1.2.3