dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 71605514e83db6a2feb74dfda7ce15cf301bcc6b
parent 2d3150323478c6da19828908e52ed50a032dcef9
Author: sin <sin@2f30.org>
Date:   Sat, 13 Apr 2019 13:44:26 +0100

Update decl

Diffstat:
Mdedup.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dedup.h b/dedup.h @@ -144,7 +144,7 @@ size_t decompr(struct compr_ctx *ctx, const void *in, void *out, size_t insize, size_t outsize); int compr_final(struct compr_ctx *ctx); int compr_name2type(char *name); -const char *compr_type2name(int type); +char *compr_type2name(int type); /* hash-blake2b.c */ int blake2bi(struct hash_ctx *ctx, size_t n); @@ -171,7 +171,7 @@ int hash_init(struct hash_ctx *ctx, int type, size_t n); int hash_update(struct hash_ctx *ctx, const void *buf, size_t n); int hash_final(struct hash_ctx *ctx, void *buf, size_t n); int hash_name2type(char *name); -const char *hash_type2name(int type); +char *hash_type2name(int type); /* icache.c */ struct icache *alloc_icache(void);