Style fix - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 7799abf81e7cd7d4a08bcc9d16d7f346a9a5966a DIR parent 29cc8a15e33765d7d60fee42c4641c7988ab8c21 HTML Author: sin <sin@2f30.org> Date: Sun, 7 Apr 2019 14:12:19 +0100 Style fix Diffstat: M compress.c | 14 +++----------- M hash.c | 14 +++----------- 2 files changed, 6 insertions(+), 22 deletions(-) --- DIR 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 DIR 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