]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfsprogs: remove unused function prototypes
authorEric Sandeen <sandeen@redhat.com>
Fri, 26 Apr 2019 20:41:12 +0000 (15:41 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 26 Apr 2019 20:41:12 +0000 (15:41 -0500)
These are prototypes for functions that aren't defined anywhere in
the code, so remove them.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/crc.h
db/faddr.h
db/io.h
include/input.h
include/libxlog.h
libxfs/libxfs_io.h

index ca2621f1ad50f022be654bbdc5d3dab0c8657ea1..e5cc53dc8bc3ea1c69b87cd1fc20409a2e2943f3 100644 (file)
--- a/db/crc.h
+++ b/db/crc.h
@@ -7,4 +7,3 @@
 struct field;
 
 extern void    crc_init(void);
-extern void    crc_struct(const field_t *fields, int argc, char **argv);
index 371bef4dbba9bb49fe3a64362e34312c6fffda1d..50c4b01cd4a3c05225d82cd9d1814b99ad4d9515 100644 (file)
@@ -13,7 +13,6 @@ extern void   fa_cfileoffd(void *obj, int bit, typnm_t next);
 extern void    fa_cfsblock(void *obj, int bit, typnm_t next);
 extern void    fa_dfiloffd(void *obj, int bit, typnm_t next);
 extern void    fa_dfsbno(void *obj, int bit, typnm_t next);
-extern void    fa_dinode_union(void *obj, int bit, typnm_t next);
 extern void    fa_dirblock(void *obj, int bit, typnm_t next);
 extern void    fa_drfsbno(void *obj, int bit, typnm_t next);
 extern void    fa_drtbno(void *obj, int bit, typnm_t next);
diff --git a/db/io.h b/db/io.h
index 7618be43b77fc5bd1f96738a88c824bca002fd66..c29a7488198991460f21c81d35b118e89cdd1b55 100644 (file)
--- a/db/io.h
+++ b/db/io.h
@@ -46,8 +46,7 @@ extern void   pop_cur(void);
 extern void    print_iocur(char *tag, iocur_t *ioc);
 extern void    push_cur(void);
 extern void    push_cur_and_set_type(void);
-extern int     read_buf(int64_t daddr, int count, void *bufp);
-extern void     write_cur(void);
+extern void    write_cur(void);
 extern void    set_cur(const struct typ *type, xfs_daddr_t blknum,
                        int len, int ring_add, bbmap_t *bbmap);
 extern void     ring_add(void);
index 4878d69ac16b214e553e40f61cce146960c3abbb..6d8dbcc420da8fe3eff8a779f5a9fbd99c759e34 100644 (file)
@@ -19,7 +19,6 @@ extern char   *fetchline(void);
 
 extern size_t numlen(uint64_t val, size_t base);
 
-extern struct timeval tadd(struct timeval t1, struct timeval t2);
 extern struct timeval tsub(struct timeval t1, struct timeval t2);
 extern double  tdiv(double value, struct timeval tv);
 
index 6c7911562ac3a9be17662bd81bc8c297cc98cdbc..92c54f48a94ec359d889edc7f1ad229f41580351 100644 (file)
@@ -88,7 +88,6 @@ extern int    xlog_find_cycle_start(struct xlog *log, xfs_buf_t *bp,
 extern int     xlog_find_tail(struct xlog *log, xfs_daddr_t *head_blk,
                                xfs_daddr_t *tail_blk);
 
-extern int     xlog_test_footer(struct xlog *log);
 extern int     xlog_recover(struct xlog *log, int readonly);
 extern void    xlog_recover_print_data(char *p, int len);
 extern void    xlog_recover_print_logitem(xlog_recover_item_t *item);
index 12064d798a2d6e99a8b9ae9e5e5230bc1cbe26d8..5bcf7331c7de2ab4ce61e27c8d32b6b898e4c3df 100644 (file)
@@ -176,7 +176,6 @@ extern void libxfs_bcache_free(void);
 extern void    libxfs_bcache_flush(void);
 extern void    libxfs_purgebuf(xfs_buf_t *);
 extern int     libxfs_bcache_overflowed(void);
-extern int     libxfs_bcache_usage(void);
 
 /* Buffer (Raw) Interfaces */
 extern xfs_buf_t *libxfs_getbufr(struct xfs_buftarg *, xfs_daddr_t, int);