summaryrefslogtreecommitdiffstats
path: root/sha1.h
diff options
context:
space:
mode:
authorGravatar Boris Barbulovski <bbarbulovski@gmail.com>2014-02-11 19:14:46 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-11 12:37:01 -0800
commitccb1c33d02b17d72036ed3cfccf565a969774aad (patch)
tree37033511f09e6bc75854c630e912de693a2cbe74 /sha1.h
parenta3d82bf9b1bf7a25e20e75aceeafe80cbc4f78f3 (diff)
downloadsubsurface-ccb1c33d02b17d72036ed3cfccf565a969774aad.tar.gz
Put include guard to every header
* ensure include guard to every header * comment endif guard block Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'sha1.h')
-rw-r--r--sha1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sha1.h b/sha1.h
index b77454aca..68470d46a 100644
--- a/sha1.h
+++ b/sha1.h
@@ -5,6 +5,8 @@
* This was initially based on the Mozilla SHA1 implementation, although
* none of the original Mozilla code remains.
*/
+#ifndef SHA1_H
+#define SHA1_H
typedef struct {
unsigned long long size;
@@ -31,3 +33,5 @@ static inline void SHA1(const void *dataIn, unsigned long len, unsigned char has
SHA1_Update(&ctx, dataIn, len);
SHA1_Final(hashout, &ctx);
}
+
+#endif // SHA1_H