Fixup declarations - 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 9c6cdcc42dc9b0def23ed2839cb528f3867f9cfb DIR parent 8faa8deed4fb6d7d6f5c90ad39715aac27254444 HTML Author: sin <sin@2f30.org> Date: Sun, 12 May 2019 12:01:09 +0100 Fixup declarations Diffstat: M bcompress.c | 1 + M bencrypt.c | 1 + M block.c | 1 + M block.h | 2 -- M dup-check.c | 1 + M dup-gc.c | 1 + M dup-pack.c | 1 + M dup-rm.c | 1 + M snap.h | 2 -- 9 files changed, 7 insertions(+), 4 deletions(-) --- DIR 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 DIR 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; DIR 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) DIR 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); DIR 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" DIR 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" DIR 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" DIR 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" DIR 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 *, ...);