mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
a3d82bf9b1
commit
ccb1c33d02
54 changed files with 78 additions and 66 deletions
4
sha1.h
4
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue