commit 7799abf81e7cd7d4a08bcc9d16d7f346a9a5966a
parent 29cc8a15e33765d7d60fee42c4641c7988ab8c21
Author: sin <sin@2f30.org>
Date: Sun, 7 Apr 2019 14:12:19 +0100
Style fix
Diffstat:
2 files changed, 6 insertions(+), 22 deletions(-)
diff --git a/compress.c b/compress.c
@@ -55,17 +55,9 @@ static struct algomap {
char *name;
int type;
} algomap[] = {
- {
- .name = "none",
- .type = COMPR_NONE,
- },
- {
- .name = "lz4",
- .type = COMPR_LZ4,
- },
- {
- .name = NULL,
- },
+ { .name = "none", .type = COMPR_NONE },
+ { .name = "lz4", .type = COMPR_LZ4 },
+ { .name = NULL, },
};
static int
diff --git a/hash.c b/hash.c
@@ -35,17 +35,9 @@ static struct algomap {
char *name;
int type;
} algomap[] = {
- {
- .name = "blake2b",
- .type = HASH_BLAKE2B,
- },
- {
- .name = "blake2bp",
- .type = HASH_BLAKE2BP,
- },
- {
- .name = NULL,
- },
+ { .name = "blake2b", .type = HASH_BLAKE2B },
+ { .name = "blake2bp", .type = HASH_BLAKE2BP },
+ { .name = NULL },
};
static int