Rename bcompat to compat - dedup - deduplicating backup program
 (HTM) git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 752ddb3633585022f6542dd5ba7ef6c34432d6fa
 (DIR) parent 494ad19401db718a4806e5cf65f6bb6916927bc0
 (HTM) Author: sin <sin@2f30.org>
       Date:   Mon, 20 May 2019 14:01:09 +0300
       
       Rename bcompat to compat
       
       This file will be used to implement more compat interfaces in the
       future (pledge and unveil).
       
       Diffstat:
         M Makefile                            |       3 ++-
         M block.h                             |       3 ---
         M bstorage.c                          |       1 +
         R bcompat.c -> compat.c               |       0 
         A compat.h                            |       1 +
       
       5 files changed, 4 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       @@ -7,6 +7,7 @@ HDR = \
                arg.h \
                block.h \
                chunker.h \
       +        compat.h \
                config.h \
                key.h \
                lock.h \
       @@ -17,12 +18,12 @@ HDR = \
                tree.h \
        
        COMMOBJ = \
       -        bcompat.o \
                bcompress.o \
                bencrypt.o \
                block.o \
                bstorage.o \
                chunker.o \
       +        compat.o \
                key.o \
                lock.o \
                misc.o \
 (DIR) diff --git a/block.h b/block.h
       @@ -36,9 +36,6 @@ extern int bcheck(struct bctx *, unsigned char *);
        extern int bsync(struct bctx *);
        extern int bclose(struct bctx *);
        
       -/* bcompat.c */
       -extern int punchhole(int, off_t, off_t);
       -
        /* bcompress.c */
        extern struct bops *bcompressops(void);
        
 (DIR) diff --git a/bstorage.c b/bstorage.c
       @@ -23,6 +23,7 @@
        #include <unistd.h>
        
        #include "block.h"
       +#include "compat.h"
        #include "config.h"
        #include "misc.h"
        #include "queue.h"
 (DIR) diff --git a/bcompat.c b/compat.c
 (DIR) diff --git a/compat.h b/compat.h
       @@ -0,0 +1 @@
       +extern int punchhole(int, off_t, off_t);