--- a/src/bfile_heuristics.h Thu Jul 02 10:22:33 2026 +0200 +++ b/src/bfile_heuristics.h Thu Jul 02 12:44:29 2026 +0200 @@ -27,8 +27,6 @@ #ifndef BFILE_HEURISTICS_H_ #define BFILE_HEURISTICS_H_ -#include "stdinc.h" - #define BFILE_IGNORE 0x00 #define BFILE_LOW_ACCURACY 0x01 #define BFILE_MEDIUM_ACCURACY 0x02 @@ -38,16 +36,16 @@ unsigned int level; unsigned int bcount; /* 'binary' character count */ unsigned int tcount; /* total count */ -} bfile_heuristics_t; +} bfile_heuristics; #ifdef _cplusplus extern "C" { #endif -bfile_heuristics_t *new_bfile_heuristics_t(); -void destroy_bfile_heuristics_t(bfile_heuristics_t *def); -void bfile_reset(bfile_heuristics_t *def); -bool bfile_check(bfile_heuristics_t *def, int next_char); +bfile_heuristics *new_bfile_heuristics(); +void destroy_bfile_heuristics(bfile_heuristics *def); +void bfile_reset(bfile_heuristics *def); +bool bfile_check(bfile_heuristics *def, int next_char); #ifdef _cplusplus }