From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- src/cmd/upas/bayes/msgclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd/upas/bayes/msgclass.c') diff --git a/src/cmd/upas/bayes/msgclass.c b/src/cmd/upas/bayes/msgclass.c index bd3c571c..999ba50c 100644 --- a/src/cmd/upas/bayes/msgclass.c +++ b/src/cmd/upas/bayes/msgclass.c @@ -15,7 +15,7 @@ enum { MAXBEST = 32, MAXLEN = 64, - MAXTAB = 256, + MAXTAB = 256 }; typedef struct Ndb Ndb; @@ -163,7 +163,7 @@ main(int argc, char **argv) w.p[i] = p; totp += p; } -//fprint(2, "%s tot %d totp %g\n", s, tot, totp); +/*fprint(2, "%s tot %d totp %g\n", s, tot, totp); */ if(tot < 2) continue; w.mp = 0.0; -- cgit v1.2.3