markfasheh / duperemove

Tools for deduping file systems
GNU General Public License v2.0
816 stars 81 forks source link

add_file_db(): make arguments in file_scan.h and hashstats.c match. #135

Closed matthiaskrgr closed 8 years ago

matthiaskrgr commented 8 years ago

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