file_scan.h:28:5: warning: type of ‘add_file_db’ does not match original declaration [-Wlto-type-mismatch]
int add_file_db(const char filename, uint64_t inum, uint64_t subvolid,
^
hashstats.c:53:5: note: type mismatch in parameter 6
int add_file_db(const char filename, uint64_t inum, uint64_t subvolid,
^
hashstats.c:53:5: note: ‘add_file_db’ was previously declared here
This fixes a -flto warning on gcc 6.1.1.
Warning was:
file_scan.h:28:5: warning: type of ‘add_file_db’ does not match original declaration [-Wlto-type-mismatch] int add_file_db(const char filename, uint64_t inum, uint64_t subvolid, ^ hashstats.c:53:5: note: type mismatch in parameter 6 int add_file_db(const char filename, uint64_t inum, uint64_t subvolid, ^ hashstats.c:53:5: note: ‘add_file_db’ was previously declared here