summaryrefslogtreecommitdiffstats
path: root/sha1.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-05 12:19:45 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-05 13:02:23 -0800
commit1b103c5c69083a106e88cb423bab8ade639c71d6 (patch)
tree0105337ce49ba6b49a1d9f514d284f6e69bd3533 /sha1.c
parent13a2f14be03d0493682917959e0a61bee686eced (diff)
downloadsubsurface-1b103c5c69083a106e88cb423bab8ade639c71d6.tar.gz
Another small tweak to whitespace tool
clang-format doesn't appear to reindent multi line #define statements correctly - so this hopefully will clean those up. The included whitespace corrections to the code should stay in place when using the updated tool. This includes cleaning up some multi-line comments that were messed up the last time around as well as a few other minor changes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'sha1.c')
-rw-r--r--sha1.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sha1.c b/sha1.c
index 69e28f587..acf8c5d9f 100644
--- a/sha1.c
+++ b/sha1.c
@@ -79,10 +79,10 @@
*/
#if defined(__i386__) || defined(__x86_64__) || \
- defined(_M_IX86) || defined(_M_X64) || \
- defined(__ppc__) || defined(__ppc64__) || \
- defined(__powerpc__) || defined(__powerpc64__) || \
- defined(__s390__) || defined(__s390x__)
+ defined(_M_IX86) || defined(_M_X64) || \
+ defined(__ppc__) || defined(__ppc64__) || \
+ defined(__powerpc__) || defined(__powerpc64__) || \
+ defined(__s390__) || defined(__s390x__)
#define get_be32(p) ntohl(*(unsigned int *)(p))
#define put_be32(p, v) \
@@ -93,10 +93,10 @@
#else
#define get_be32(p) ( \
- (*((unsigned char *)(p) + 0) << 24) | \
- (*((unsigned char *)(p) + 1) << 16) | \
- (*((unsigned char *)(p) + 2) << 8) | \
- (*((unsigned char *)(p) + 3) << 0))
+ (*((unsigned char *)(p) + 0) << 24) | \
+ (*((unsigned char *)(p) + 1) << 16) | \
+ (*((unsigned char *)(p) + 2) << 8) | \
+ (*((unsigned char *)(p) + 3) << 0))
#define put_be32(p, v) \
do { \
unsigned int __v = (v); \