diff options
author | Dan Cross <cross@gajendra.net> | 2020-01-10 14:44:21 +0000 |
---|---|---|
committer | Dan Cross <cross@gajendra.net> | 2020-01-10 14:54:30 +0000 |
commit | fa325e9b42b0bdfb48857d1958d9fb7ceac55151 (patch) | |
tree | 81d26256d152435135bcb1ae43121979a49f5f2b /src/libventi/entry.c | |
parent | 77a0a5b5194d4441c86de097f2aae297cb75e2c2 (diff) | |
download | plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.gz plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.bz2 plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.zip |
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 <cross@gajendra.net>
Diffstat (limited to 'src/libventi/entry.c')
-rw-r--r-- | src/libventi/entry.c | 9 |
1 files changed, 4 insertions, 5 deletions
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; } - |