dedup

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

commit 9c6cdcc42dc9b0def23ed2839cb528f3867f9cfb
parent 8faa8deed4fb6d7d6f5c90ad39715aac27254444
Author: sin <sin@2f30.org>
Date:   Sun, 12 May 2019 12:01:09 +0100

Fixup declarations

Diffstat:
Mbcompress.c | 1+
Mbencrypt.c | 1+
Mblock.c | 1+
Mblock.h | 2--
Mdup-check.c | 1+
Mdup-gc.c | 1+
Mdup-pack.c | 1+
Mdup-rm.c | 1+
Msnap.h | 2--
9 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/bcompress.c b/bcompress.c @@ -17,6 +17,7 @@ #include "block.h" #include "config.h" +#include "misc.h" #include "state.h" #define CDNONETYPE 0x200 diff --git a/bencrypt.c b/bencrypt.c @@ -16,6 +16,7 @@ #include "block.h" #include "config.h" +#include "misc.h" #include "state.h" extern struct param param; diff --git a/block.c b/block.c @@ -10,6 +10,7 @@ #include <string.h> #include "block.h" +#include "misc.h" int bcreat(char *path, int mode, struct bctx **bctx) diff --git a/block.h b/block.h @@ -36,8 +36,6 @@ extern int bgc(struct bctx *); extern int bcheck(struct bctx *, unsigned char *); extern int bsync(struct bctx *); extern int bclose(struct bctx *); -extern void seterr(char *, ...); -extern void printerr(char *, ...); /* bcompat.c */ extern int punchhole(int, off_t, off_t); diff --git a/dup-check.c b/dup-check.c @@ -15,6 +15,7 @@ #include "config.h" #include "key.h" #include "lock.h" +#include "misc.h" #include "snap.h" #include "state.h" diff --git a/dup-gc.c b/dup-gc.c @@ -13,6 +13,7 @@ #include "config.h" #include "key.h" #include "lock.h" +#include "misc.h" #include "snap.h" #include "state.h" diff --git a/dup-pack.c b/dup-pack.c @@ -14,6 +14,7 @@ #include "config.h" #include "key.h" #include "lock.h" +#include "misc.h" #include "snap.h" #include "state.h" diff --git a/dup-rm.c b/dup-rm.c @@ -13,6 +13,7 @@ #include "config.h" #include "key.h" #include "lock.h" +#include "misc.h" #include "snap.h" #include "state.h" diff --git a/snap.h b/snap.h @@ -11,5 +11,3 @@ extern int sget(struct sctx *, unsigned char *); extern int srewind(struct sctx *); extern int ssync(struct sctx *); extern int sclose(struct sctx *); -extern void seterr(char *, ...); -extern void printerr(char *, ...);