[cvs] bogofilter bogoutil.c,1.22.2.1,1.22.2.2
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@us...> - 2002-11-06 14:05:31
|
Update of /cvsroot/bogofilter/bogofilter In directory usw-pr-cvs1:/tmp/cvs-serv9817 Modified Files: Tag: bogofilter-0_8_0 bogoutil.c Log Message: Add two const keywords, fixing compiler warnings. Index: bogoutil.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/bogoutil.c,v retrieving revision 1.22.2.1 retrieving revision 1.22.2.2 diff -C2 -d -r1.22.2.1 -r1.22.2.2 *** bogoutil.c 6 Nov 2002 11:26:35 -0000 1.22.2.1 --- bogoutil.c 6 Nov 2002 14:05:28 -0000 1.22.2.2 *************** *** 194,198 **** } ! int words_from_list(char *db_file, int argc, char **argv) { dbh_t *dbh; --- 194,198 ---- } ! int words_from_list(const char *db_file, int argc, char **argv) { dbh_t *dbh; *************** *** 223,227 **** } ! int words_from_path(char *directory, int argc, char **argv, bool show_probability) { dbh_t *dbh_good; --- 223,227 ---- } ! int words_from_path(const char *directory, int argc, char **argv, bool show_probability) { dbh_t *dbh_good; |