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/libdiskfs/venti.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libdiskfs/venti.c') diff --git a/src/libdiskfs/venti.c b/src/libdiskfs/venti.c index 5d8528c2..cf246f98 100644 --- a/src/libdiskfs/venti.c +++ b/src/libdiskfs/venti.c @@ -56,14 +56,14 @@ _vtfileblock(VtCache *c, VtEntry *e, u32int bn) return nil; } -//fprint(2, "vtread %V\n", e->score); +/*fprint(2, "vtread %V\n", e->score); */ b = vtcacheglobal(c, e->score, e->type); if(b == nil) return nil; for(i=d-1; i>=0; i--){ t = VtDataType+i; -//fprint(2, "vtread %V\n", b->data+index[i]*VtScoreSize); +/*fprint(2, "vtread %V\n", b->data+index[i]*VtScoreSize); */ bb = vtcacheglobal(c, b->data+index[i]*VtScoreSize, t); vtblockput(b); if(bb == nil) -- cgit v1.2.3