From c62c19d29d2ac1ad48c6d7ca36c7160ac76aefd7 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Wed, 17 Apr 2013 08:52:22 +0200 Subject: [PATCH] header file ifndefs share common prefix --- src/bvector.h | 4 ++-- src/decoding.h | 4 ++-- src/fmtseq.h | 4 ++-- src/generator.h | 4 ++-- src/gf2m.h | 4 ++-- src/ios.h | 4 ++-- src/matrix.h | 4 ++-- src/mce.h | 4 ++-- src/mce_qd.h | 4 ++-- src/nd.h | 4 ++-- src/permutation.h | 4 ++-- src/polynomial.h | 4 ++-- src/prng.h | 4 ++-- src/qd_utils.h | 4 ++-- src/rmd_hash.h | 4 ++-- src/sencode.h | 4 ++-- src/sha_hash.h | 4 ++-- src/types.h | 4 ++-- src/vector_item.h | 4 ++-- 19 files changed, 38 insertions(+), 38 deletions(-) diff --git a/src/bvector.h b/src/bvector.h index 4060b77..2573453 100644 --- a/src/bvector.h +++ b/src/bvector.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _bvector_h_ -#define _bvector_h_ +#ifndef _ccr_bvector_h_ +#define _ccr_bvector_h_ #include #include "types.h" diff --git a/src/decoding.h b/src/decoding.h index 9118108..a713157 100644 --- a/src/decoding.h +++ b/src/decoding.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _decoding_h_ -#define _decoding_h_ +#ifndef _ccr_decoding_h_ +#define _ccr_decoding_h_ #include #include "polynomial.h" diff --git a/src/fmtseq.h b/src/fmtseq.h index 027ef14..fca8c8e 100644 --- a/src/fmtseq.h +++ b/src/fmtseq.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _fmtseq_h_ -#define _fmtseq_h_ +#ifndef _ccr_fmtseq_h_ +#define _ccr_fmtseq_h_ #include #include diff --git a/src/generator.h b/src/generator.h index d211a02..cb518da 100644 --- a/src/generator.h +++ b/src/generator.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _generator_h_ -#define _generator_h_ +#ifndef _ccr_generator_h_ +#define _ccr_generator_h_ #include "arcfour.h" #include "prng.h" diff --git a/src/gf2m.h b/src/gf2m.h index 9cd5d2f..afa62cb 100644 --- a/src/gf2m.h +++ b/src/gf2m.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _gf2m_h_ -#define _gf2m_h_ +#ifndef _ccr_gf2m_h_ +#define _ccr_gf2m_h_ #include #include "types.h" diff --git a/src/ios.h b/src/ios.h index 457ce3c..7dbf136 100644 --- a/src/ios.h +++ b/src/ios.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _ios_h_ -#define _ios_h_ +#ifndef _ccr_ios_h_ +#define _ccr_ios_h_ //operator overloads very useful for debugging/hacking #include diff --git a/src/matrix.h b/src/matrix.h index 96f8264..71ca8ec 100644 --- a/src/matrix.h +++ b/src/matrix.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _matrix_h_ -#define _matrix_h_ +#ifndef _ccr_matrix_h_ +#define _ccr_matrix_h_ #include #include "types.h" diff --git a/src/mce.h b/src/mce.h index e285650..eee8ec0 100644 --- a/src/mce.h +++ b/src/mce.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _mce_h_ -#define _mce_h_ +#ifndef _ccr_mce_h_ +#define _ccr_mce_h_ #include "gf2m.h" #include "matrix.h" diff --git a/src/mce_qd.h b/src/mce_qd.h index ff25f72..5de5c73 100644 --- a/src/mce_qd.h +++ b/src/mce_qd.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _mce_qd_h_ -#define _mce_qd_h_ +#ifndef _ccr_mce_qd_h_ +#define _ccr_mce_qd_h_ #include diff --git a/src/nd.h b/src/nd.h index a8c8550..15e497d 100644 --- a/src/nd.h +++ b/src/nd.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _nd_h_ -#define _nd_h_ +#ifndef _ccr_nd_h_ +#define _ccr_nd_h_ #include "gf2m.h" #include "matrix.h" diff --git a/src/permutation.h b/src/permutation.h index bdcf8f9..b3fc970 100644 --- a/src/permutation.h +++ b/src/permutation.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _permutation_h_ -#define _permutation_h_ +#ifndef _ccr_permutation_h_ +#define _ccr_permutation_h_ #include #include "types.h" diff --git a/src/polynomial.h b/src/polynomial.h index 49979f5..51fcb54 100644 --- a/src/polynomial.h +++ b/src/polynomial.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _polynomial_h_ -#define _polynomial_h_ +#ifndef _ccr_polynomial_h_ +#define _ccr_polynomial_h_ #include #include "types.h" diff --git a/src/prng.h b/src/prng.h index 4a00de1..3d1fb32 100644 --- a/src/prng.h +++ b/src/prng.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _prng_h_ -#define _prng_h_ +#ifndef _ccr_prng_h_ +#define _ccr_prng_h_ #include "types.h" diff --git a/src/qd_utils.h b/src/qd_utils.h index e1bd307..fb9baee 100644 --- a/src/qd_utils.h +++ b/src/qd_utils.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _qdutils_h_ -#define _qdutils_h_ +#ifndef _ccr_qdutils_h_ +#define _ccr_qdutils_h_ #include #include diff --git a/src/rmd_hash.h b/src/rmd_hash.h index 27df86a..f6231ee 100644 --- a/src/rmd_hash.h +++ b/src/rmd_hash.h @@ -17,8 +17,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _rmd_hash_h_ -#define _rmd_hash_h_ +#ifndef _ccr_rmd_hash_h_ +#define _ccr_rmd_hash_h_ #include "hash.h" #include "ripemd128.h" diff --git a/src/sencode.h b/src/sencode.h index 10b7aff..914b928 100644 --- a/src/sencode.h +++ b/src/sencode.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _sencode_h_ -#define _sencode_h_ +#ifndef _ccr_sencode_h_ +#define _ccr_sencode_h_ #include #include diff --git a/src/sha_hash.h b/src/sha_hash.h index 0f52e29..e5a51f4 100644 --- a/src/sha_hash.h +++ b/src/sha_hash.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _sha_hash_h_ -#define _sha_hash_h_ +#ifndef _ccr_sha_hash_h_ +#define _ccr_sha_hash_h_ #include "hash.h" #include "sha2.h" diff --git a/src/types.h b/src/types.h index 69feb2f..01e0c41 100644 --- a/src/types.h +++ b/src/types.h @@ -17,8 +17,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _types_h_ -#define _types_h_ +#ifndef _ccr_types_h_ +#define _ccr_types_h_ /* * typedefs. uint should be able to comfortably hold the GF(2^m) elements of diff --git a/src/vector_item.h b/src/vector_item.h index 281cb23..385e5ec 100644 --- a/src/vector_item.h +++ b/src/vector_item.h @@ -16,8 +16,8 @@ * along with Codecrypt. If not, see . */ -#ifndef _vector_item_h_ -#define _vector_item_h_ +#ifndef _ccr_vector_item_h_ +#define _ccr_vector_item_h_ //little STL helper, because writing (*this)[i] everywhere is clumsy #define _ccr_declare_vector_item \