mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Massive automated whitespace cleanup
I know everyone will hate it. Go ahead. Complain. Call me names. At least now things are consistent and reproducible. If you want changes, have your complaint come with a patch to scripts/whitespace.pl so that we can automate it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
006265d7a0
commit
76e6420f6b
114 changed files with 4370 additions and 3717 deletions
11
sha1.h
11
sha1.h
|
|
@ -8,7 +8,8 @@
|
|||
#ifndef SHA1_H
|
||||
#define SHA1_H
|
||||
|
||||
typedef struct {
|
||||
typedef struct
|
||||
{
|
||||
unsigned long long size;
|
||||
unsigned int H[5];
|
||||
unsigned int W[16];
|
||||
|
|
@ -19,10 +20,10 @@ void blk_SHA1_Update(blk_SHA_CTX *ctx, const void *dataIn, unsigned long len);
|
|||
void blk_SHA1_Final(unsigned char hashout[20], blk_SHA_CTX *ctx);
|
||||
|
||||
/* Make us use the standard names */
|
||||
#define SHA_CTX blk_SHA_CTX
|
||||
#define SHA1_Init blk_SHA1_Init
|
||||
#define SHA1_Update blk_SHA1_Update
|
||||
#define SHA1_Final blk_SHA1_Final
|
||||
#define SHA_CTX blk_SHA_CTX
|
||||
#define SHA1_Init blk_SHA1_Init
|
||||
#define SHA1_Update blk_SHA1_Update
|
||||
#define SHA1_Final blk_SHA1_Final
|
||||
|
||||
/* Trivial helper function */
|
||||
static inline void SHA1(const void *dataIn, unsigned long len, unsigned char hashout[20])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue