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

@@ -243,7 +243,7 @@ if(cli->chatty) fprint(2, "resend %lux %lud %lud\n", o->xid, t, o->t);
if(nout == 0)
a[1].op = CHANNOP;
break;
case 2: /* tag = <-flushchan */
for(i=0; i<nout; i++){
o = out[i];
@@ -374,7 +374,7 @@ sunclientclose(SunClient *cli)
chanfree(cli->timerchan);
free(cli);
}
void
sunclientflushrpc(SunClient *cli, ulong tag)
{

View File

@@ -30,5 +30,3 @@ abort();
setrealloctag(v, getcallerpc(&n));
return v;
}

View File

@@ -709,7 +709,7 @@ static SunProc proc1[] = {
(P)nfsmount3rexportpack, (P)nfsmount3rexportunpack, (S)nfsmount3rexportsize, (F)nfsmount3rexportprint, sizeof(NfsMount3RExport),
};
SunProg nfsmount3prog =
SunProg nfsmount3prog =
{
NfsMount3Program,
NfsMount3Version,

View File

@@ -3377,7 +3377,7 @@ countEntryPlus(uchar *a, uchar *ea, uchar **pa, u32int *n)
*pa = a;
return 0;
}
int
nfs3rreaddirplusunpack(uchar *a, uchar *ea, uchar **pa, Nfs3RReadDirPlus *x)
{
@@ -4042,7 +4042,7 @@ static SunProc proc[] = {
(P)nfs3rcommitpack, (P)nfs3rcommitunpack, (S)nfs3rcommitsize, (F)nfs3rcommitprint, sizeof(Nfs3RCommit)
};
SunProg nfs3prog =
SunProg nfs3prog =
{
Nfs3Program,
Nfs3Version,

View File

@@ -489,7 +489,7 @@ static SunProc proc[] = {
(P)portRCallitPack, (P)portRCallitUnpack, (S)portRCallitSize, (F)portRCallitPrint, sizeof(PortRCallit),
};
SunProg portprog =
SunProg portprog =
{
PortProgram,
PortVersion,

View File

@@ -78,7 +78,7 @@ sunrpcpack(uchar *a, uchar *ea, uchar **pa, SunRpc *rpc)
goto Err;
break;
}
switch(rpc->status){
case SunSuccess:
if(sunuint32pack(a, ea, &a, (x=MsgSuccess, &x)) < 0
@@ -538,4 +538,3 @@ Err:
*pa = ea;
return -1;
}

View File

@@ -194,7 +194,7 @@ sunrpcreplythread(void *v)
while((m = recvp(srv->creply)) != nil){
/* could record in cache here? */
sendp(m->creply, m);
}
}
}
int
@@ -286,4 +286,3 @@ sunmsgdrop(SunMsg *m)
free(m);
return 0;
}