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

@ -30,7 +30,7 @@ threadmain(int argc, char **argv)
fmtinstall('F', fcallfmt);
fmtinstall('M', dirmodefmt);
ARGBEGIN{
case 'D':
debug = 1;
@ -51,7 +51,7 @@ threadmain(int argc, char **argv)
default:
usage();
}ARGEND
if(argc != 1 && argc != 2)
usage();
@ -80,7 +80,7 @@ do9p(Fcall *tx, Fcall *rx)
static uchar buf[9000];
static char ebuf[200];
int n;
n = convS2M(tx, buf, sizeof buf);
if(n == BIT16SZ){
werrstr("convS2M failed");
@ -133,7 +133,7 @@ xauth(void)
if(rx.type == Rerror)
sysfatal("Tversion: %s", rx.ename);
msize = rx.msize;
tx.type = Tauth;
tx.tag = 1;
tx.afid = afid;
@ -154,7 +154,7 @@ int
xread(void *buf, int n)
{
Fcall tx, rx;
tx.type = Tread;
tx.tag = 1;
tx.fid = 0; /* afid above */
@ -165,7 +165,7 @@ xread(void *buf, int n)
werrstr("%s", rx.ename);
return -1;
}
if(rx.count > n){
werrstr("too much data returned");
return -1;
@ -178,7 +178,7 @@ int
xwrite(void *buf, int n)
{
Fcall tx, rx;
tx.type = Twrite;
tx.tag = 1;
tx.fid = 0; /* afid above */
@ -354,4 +354,3 @@ xauth_proxy(AuthGetkey *getkey, char *fmt, ...)
auth_freerpc(rpc);
return ai;
}