diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-21 10:13:05 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-21 10:13:05 +0200 |
commit | cfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae (patch) | |
tree | 1ba7b4f15c9a36cd5d9aab803ed4e9defb8222d2 /src/sha1.h | |
parent | 47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d (diff) | |
download | calcurse-cfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae.zip |
Switch to Linux kernel coding style
Convert our code base to adhere to Linux kernel coding style using
Lindent, with the following exceptions:
* Use spaces, instead of tabs, for indentation.
* Use 2-character indentations (instead of 8 characters).
Rationale: We currently have too much levels of indentation. Using
8-character tabs would make huge code parts unreadable. These need to be
cleaned up before we can switch to 8 characters.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/sha1.h')
-rw-r--r-- | src/sha1.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -50,8 +50,8 @@ typedef struct { uint8_t buffer[SHA1_BLOCKLEN]; } sha1_ctx_t; -void sha1_init (sha1_ctx_t *); -void sha1_update (sha1_ctx_t *, const uint8_t *, unsigned int); -void sha1_final (sha1_ctx_t *, uint8_t *); -void sha1_digest (const char *, char *); -void sha1_stream (FILE *, char *); +void sha1_init(sha1_ctx_t *); +void sha1_update(sha1_ctx_t *, const uint8_t *, unsigned int); +void sha1_final(sha1_ctx_t *, uint8_t *); +void sha1_digest(const char *, char *); +void sha1_stream(FILE *, char *); |