diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2018-02-01 15:55:48 -0800 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-02-01 15:56:33 -0800 |
| commit | abb04caa2f74bb4783eb87202a904c0c3517df85 (patch) | |
| tree | 82454226761e79a9620f93bdeecf86821615f00e /src/hash | |
| parent | f55accce05c3eff9a3ef09a06e80c09135328790 (diff) | |
| download | libgit2-abb04caa2f74bb4783eb87202a904c0c3517df85.tar.gz | |
consistent header guardsethomson/header_guards
use consistent names for the #include / #define header guard pattern.
Diffstat (limited to 'src/hash')
| -rw-r--r-- | src/hash/hash_collisiondetect.h | 6 | ||||
| -rw-r--r-- | src/hash/hash_common_crypto.h | 6 | ||||
| -rw-r--r-- | src/hash/hash_generic.h | 6 | ||||
| -rw-r--r-- | src/hash/hash_openssl.h | 6 | ||||
| -rw-r--r-- | src/hash/hash_win32.h | 6 |
5 files changed, 15 insertions, 15 deletions
diff --git a/src/hash/hash_collisiondetect.h b/src/hash/hash_collisiondetect.h index 5fdae8df6..4c5e3c302 100644 --- a/src/hash/hash_collisiondetect.h +++ b/src/hash/hash_collisiondetect.h @@ -5,8 +5,8 @@ * a Linking Exception. For full terms see the included COPYING file. */ -#ifndef INCLUDE_hash_collisiondetect_h__ -#define INCLUDE_hash_collisiondetect_h__ +#ifndef INCLUDE_hash_hash_collisiondetect_h__ +#define INCLUDE_hash_hash_collisiondetect_h__ #include "hash.h" #include "sha1dc/sha1.h" @@ -44,4 +44,4 @@ GIT_INLINE(int) git_hash_final(git_oid *out, git_hash_ctx *ctx) return 0; } -#endif /* INCLUDE_hash_collisiondetect_h__ */ +#endif diff --git a/src/hash/hash_common_crypto.h b/src/hash/hash_common_crypto.h index 4cd229d3c..5c3887dba 100644 --- a/src/hash/hash_common_crypto.h +++ b/src/hash/hash_common_crypto.h @@ -5,8 +5,8 @@ * a Linking Exception. For full terms see the included COPYING file. */ -#ifndef INCLUDE_hash_common_crypto_h__ -#define INCLUDE_hash_common_crypto_h__ +#ifndef INCLUDE_hash_hash_common_crypto_h__ +#define INCLUDE_hash_hash_common_crypto_h__ #include "hash.h" @@ -54,4 +54,4 @@ GIT_INLINE(int) git_hash_final(git_oid *out, git_hash_ctx *ctx) return 0; } -#endif /* INCLUDE_hash_common_crypto_h__ */ +#endif diff --git a/src/hash/hash_generic.h b/src/hash/hash_generic.h index 114b60781..21a042807 100644 --- a/src/hash/hash_generic.h +++ b/src/hash/hash_generic.h @@ -5,8 +5,8 @@ * a Linking Exception. For full terms see the included COPYING file. */ -#ifndef INCLUDE_hash_generic_h__ -#define INCLUDE_hash_generic_h__ +#ifndef INCLUDE_hash_hash_generic_h__ +#define INCLUDE_hash_hash_generic_h__ #include "common.h" @@ -22,4 +22,4 @@ struct git_hash_ctx { #define git_hash_ctx_init(ctx) git_hash_init(ctx) #define git_hash_ctx_cleanup(ctx) -#endif /* INCLUDE_hash_generic_h__ */ +#endif diff --git a/src/hash/hash_openssl.h b/src/hash/hash_openssl.h index 048c2bdb3..eb2dcb02f 100644 --- a/src/hash/hash_openssl.h +++ b/src/hash/hash_openssl.h @@ -5,8 +5,8 @@ * a Linking Exception. For full terms see the included COPYING file. */ -#ifndef INCLUDE_hash_openssl_h__ -#define INCLUDE_hash_openssl_h__ +#ifndef INCLUDE_hash_hash_openssl_h__ +#define INCLUDE_hash_hash_openssl_h__ #include "hash.h" @@ -56,4 +56,4 @@ GIT_INLINE(int) git_hash_final(git_oid *out, git_hash_ctx *ctx) return 0; } -#endif /* INCLUDE_hash_openssl_h__ */ +#endif diff --git a/src/hash/hash_win32.h b/src/hash/hash_win32.h index 187c07267..9704204e2 100644 --- a/src/hash/hash_win32.h +++ b/src/hash/hash_win32.h @@ -5,8 +5,8 @@ * a Linking Exception. For full terms see the included COPYING file. */ -#ifndef INCLUDE_hash_win32_h__ -#define INCLUDE_hash_win32_h__ +#ifndef INCLUDE_hash_hash_win32_h__ +#define INCLUDE_hash_hash_win32_h__ #include "common.h" @@ -138,4 +138,4 @@ struct git_hash_ctx { } ctx; }; -#endif /* INCLUDE_hash_openssl_h__ */ +#endif |
