From fa325e9b42b0bdfb48857d1958d9fb7ceac55151 Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 10 Jan 2020 14:44:21 +0000 Subject: Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross --- src/libventi/entry.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/libventi/entry.c') diff --git a/src/libventi/entry.c b/src/libventi/entry.c index 5e9a7c1f..12fb9589 100644 --- a/src/libventi/entry.c +++ b/src/libventi/entry.c @@ -21,7 +21,7 @@ vttobig(ulong n) { int shift; ulong n0; - + n0 = n; shift = 0; while(n >= (1<<(16 - 5))) { @@ -30,7 +30,7 @@ vttobig(ulong n) shift++; n >>= 1; } - + n = (n<<5) | shift; if(((n>>5)<<(n&31)) != n0) sysfatal("vttobig %#lux => %#lux failed", n0, n); @@ -111,11 +111,11 @@ vtentryunpack(VtEntry *e, uchar *p, int index) p += VtScoreSize; assert(p-op == VtEntrySize); - + if(!(e->flags & VtEntryActive)) return 0; - /* + /* * Some old vac files use psize==0 and dsize==0 when the * file itself has size 0 or is zeros. Just to make programs not * have to figure out what block sizes of 0 means, rewrite them. @@ -130,4 +130,3 @@ vtentryunpack(VtEntry *e, uchar *p, int index) return 0; } - -- cgit v1.2.3