diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-23 20:43:43 +0900 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-02 14:44:02 +1000 |
commit | 68289c634344431d6f97480eb5384516f37e39b8 (patch) | |
tree | e5e090b0231d1651e6e670c2b2f50d29aa604750 /include/crypto/sha1_base.h | |
parent | 1c0ab408bb6e16285fcddc9b4ce74507081d053f (diff) | |
download | lwn-68289c634344431d6f97480eb5384516f37e39b8.tar.gz lwn-68289c634344431d6f97480eb5384516f37e39b8.zip |
crypto: add header include guards
Add header include guards in case they are included multiple times.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/sha1_base.h')
-rw-r--r-- | include/crypto/sha1_base.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/crypto/sha1_base.h b/include/crypto/sha1_base.h index 63c14f2dc7bd..20fd1f7468af 100644 --- a/include/crypto/sha1_base.h +++ b/include/crypto/sha1_base.h @@ -5,6 +5,9 @@ * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> */ +#ifndef _CRYPTO_SHA1_BASE_H +#define _CRYPTO_SHA1_BASE_H + #include <crypto/internal/hash.h> #include <crypto/sha.h> #include <linux/crypto.h> @@ -101,3 +104,5 @@ static inline int sha1_base_finish(struct shash_desc *desc, u8 *out) *sctx = (struct sha1_state){}; return 0; } + +#endif /* _CRYPTO_SHA1_BASE_H */ |