diff options
author | Michael Schubert <schu@schu.io> | 2012-08-11 12:29:24 +0200 |
---|---|---|
committer | Michael Schubert <schu@schu.io> | 2012-08-11 12:29:24 +0200 |
commit | 738837bdaa258a716edecfc8dcdeb7210d73860b (patch) | |
tree | e6cd2733bd315851a10e912df249eb69d52d8ab8 /src | |
parent | c07d9c95f2ee277e12dc379c3054411cd3d2958e (diff) | |
download | libgit2-738837bdaa258a716edecfc8dcdeb7210d73860b.tar.gz |
sha1: add missing header guards
Diffstat (limited to 'src')
-rw-r--r-- | src/sha1.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sha1.h b/src/sha1.h index 93a244d76..f0a16f2cf 100644 --- a/src/sha1.h +++ b/src/sha1.h @@ -5,6 +5,9 @@ * a Linking Exception. For full terms see the included COPYING file. */ +#ifndef INCLUDE_sha1_h__ +#define INCLUDE_sha1_h__ + typedef struct { unsigned long long size; unsigned int H[5]; @@ -19,3 +22,5 @@ void git__blk_SHA1_Final(unsigned char hashout[20], blk_SHA_CTX *ctx); #define SHA1_Init git__blk_SHA1_Init #define SHA1_Update git__blk_SHA1_Update #define SHA1_Final git__blk_SHA1_Final + +#endif |