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>
This commit is contained in:
Dan Cross 2020-01-10 14:44:21 +00:00
parent 77a0a5b519
commit fa325e9b42
1021 changed files with 5688 additions and 6193 deletions

View file

@ -27,7 +27,7 @@ static int
diskpartsync(Disk *dd)
{
DiskPart *d = (DiskPart*)dd;
if(d->subdisk)
return disksync(d->subdisk);
return 0;
@ -37,7 +37,7 @@ static void
diskpartclose(Disk *dd)
{
DiskPart *d = (DiskPart*)dd;
if(d->subdisk)
diskclose(d->subdisk);
free(d);
@ -47,18 +47,18 @@ Disk*
diskpart(Disk *subdisk, u64int offset, u64int size)
{
DiskPart *d;
d = mallocz(sizeof(DiskPart), 1);
if(d == nil)
return nil;
d->subdisk = subdisk;
d->offset = offset;
d->size = size;
d->disk._read = diskpartread;
d->disk._sync = diskpartsync;
d->disk._close = diskpartclose;
return &d->disk;
}