aboutsummaryrefslogtreecommitdiff
path: root/src/libsunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsunrpc')
-rw-r--r--src/libsunrpc/client.c4
-rw-r--r--src/libsunrpc/emalloc.c2
-rw-r--r--src/libsunrpc/mount3.c2
-rw-r--r--src/libsunrpc/nfs3.c4
-rw-r--r--src/libsunrpc/portmap.c2
-rw-r--r--src/libsunrpc/rpc.c3
-rw-r--r--src/libsunrpc/server.c3
7 files changed, 8 insertions, 12 deletions
diff --git a/src/libsunrpc/client.c b/src/libsunrpc/client.c
index 692ab591..44ead7d1 100644
--- a/src/libsunrpc/client.c
+++ b/src/libsunrpc/client.c
@@ -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)
{
diff --git a/src/libsunrpc/emalloc.c b/src/libsunrpc/emalloc.c
index 8a09eda7..ce617412 100644
--- a/src/libsunrpc/emalloc.c
+++ b/src/libsunrpc/emalloc.c
@@ -30,5 +30,3 @@ abort();
setrealloctag(v, getcallerpc(&n));
return v;
}
-
-
diff --git a/src/libsunrpc/mount3.c b/src/libsunrpc/mount3.c
index d487c806..4da94896 100644
--- a/src/libsunrpc/mount3.c
+++ b/src/libsunrpc/mount3.c
@@ -709,7 +709,7 @@ static SunProc proc1[] = {
(P)nfsmount3rexportpack, (P)nfsmount3rexportunpack, (S)nfsmount3rexportsize, (F)nfsmount3rexportprint, sizeof(NfsMount3RExport),
};
-SunProg nfsmount3prog =
+SunProg nfsmount3prog =
{
NfsMount3Program,
NfsMount3Version,
diff --git a/src/libsunrpc/nfs3.c b/src/libsunrpc/nfs3.c
index 706d9c4f..8cf52db1 100644
--- a/src/libsunrpc/nfs3.c
+++ b/src/libsunrpc/nfs3.c
@@ -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,
diff --git a/src/libsunrpc/portmap.c b/src/libsunrpc/portmap.c
index 2bb40153..76a1dde1 100644
--- a/src/libsunrpc/portmap.c
+++ b/src/libsunrpc/portmap.c
@@ -489,7 +489,7 @@ static SunProc proc[] = {
(P)portRCallitPack, (P)portRCallitUnpack, (S)portRCallitSize, (F)portRCallitPrint, sizeof(PortRCallit),
};
-SunProg portprog =
+SunProg portprog =
{
PortProgram,
PortVersion,
diff --git a/src/libsunrpc/rpc.c b/src/libsunrpc/rpc.c
index 4ebe1ec8..a4b3f011 100644
--- a/src/libsunrpc/rpc.c
+++ b/src/libsunrpc/rpc.c
@@ -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;
}
-
diff --git a/src/libsunrpc/server.c b/src/libsunrpc/server.c
index 6e024fca..b94b7643 100644
--- a/src/libsunrpc/server.c
+++ b/src/libsunrpc/server.c
@@ -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;
}
-