[cvs] bogofilter format.c,1.12,1.13 maint.c,1.14,1.15 mime.c,1.14,1.15
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2003-01-31 16:41:19
|
Update of /cvsroot/bogofilter/bogofilter In directory sc8-pr-cvs1:/tmp/cvs-serv21188 Modified Files: format.c maint.c mime.c Log Message: Correct some complaints from the hp-ux compiler. Index: format.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/format.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- format.c 12 Jan 2003 14:02:00 -0000 1.12 +++ format.c 31 Jan 2003 16:41:12 -0000 1.13 @@ -223,6 +223,7 @@ exit (2); } +static char *convert_format_to_string(char *buff, size_t size, const char *format) { char *beg = buff; Index: maint.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/maint.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- maint.c 30 Jan 2003 03:28:14 -0000 1.14 +++ maint.c 31 Jan 2003 16:41:13 -0000 1.15 @@ -40,6 +40,7 @@ /* Function Definitions */ +static YYYYMMDD time_to_date(long days) { time_t t = time(NULL) - days * 86400; Index: mime.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/mime.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- mime.c 31 Jan 2003 12:06:54 -0000 1.14 +++ mime.c 31 Jan 2003 16:41:14 -0000 1.15 @@ -322,7 +322,7 @@ } /* skips whitespace, returns NULL when ran into end of string */ -const byte * +static const byte * skipws (const byte *t, const byte *e) { while (t < e && isspace (*t)) @@ -347,7 +347,7 @@ /* get next MIME word, NULL when none found. * caller must free returned string with xfree() */ -char * +static char * getword (const byte *t, const byte *e) { int quote = 0; |