From fa325e9b42b0bdfb48857d1958d9fb7ceac55151 Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 10 Jan 2020 14:44:21 +0000 Subject: 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 --- src/libauth/attr.c | 1 - src/libauth/auth_proxy.c | 3 +-- src/libauth/auth_respond.c | 2 +- src/libauth/fsamount.c | 3 +-- src/libauth/nsamount.c | 3 +-- 5 files changed, 4 insertions(+), 8 deletions(-) (limited to 'src/libauth') diff --git a/src/libauth/attr.c b/src/libauth/attr.c index 8adeefe6..be8d1ad3 100644 --- a/src/libauth/attr.c +++ b/src/libauth/attr.c @@ -174,4 +174,3 @@ _strfindattr(Attr *a, char *n) return nil; return a->val; } - diff --git a/src/libauth/auth_proxy.c b/src/libauth/auth_proxy.c index 257bafe7..a5fe4411 100644 --- a/src/libauth/auth_proxy.c +++ b/src/libauth/auth_proxy.c @@ -5,7 +5,7 @@ #include <9pclient.h> #include "authlocal.h" -enum { +enum { ARgiveup = 100 }; @@ -291,4 +291,3 @@ fsauth_proxy(CFid *fid, AuthGetkey *getkey, char *fmt, ...) auth_freerpc(rpc); return ai; } - diff --git a/src/libauth/auth_respond.c b/src/libauth/auth_respond.c index b3cf6665..4e271900 100644 --- a/src/libauth/auth_respond.c +++ b/src/libauth/auth_respond.c @@ -61,5 +61,5 @@ auth_respond(void *chal, uint nchal, char *user, uint nuser, void *resp, uint nr _freeattr(a); auth_freerpc(rpc); - return nresp; + return nresp; } diff --git a/src/libauth/fsamount.c b/src/libauth/fsamount.c index bece208a..4cb33bbd 100644 --- a/src/libauth/fsamount.c +++ b/src/libauth/fsamount.c @@ -11,7 +11,7 @@ fsamount(int fd, char *aname) CFid *afid, *fid; AuthInfo *ai; CFsys *fs; - + fs = fsinit(fd); if(fs == nil) return nil; @@ -30,4 +30,3 @@ noauth: fssetroot(fs, fid); return fs; } - diff --git a/src/libauth/nsamount.c b/src/libauth/nsamount.c index 1447904a..4e9b827a 100644 --- a/src/libauth/nsamount.c +++ b/src/libauth/nsamount.c @@ -11,7 +11,7 @@ nsamount(char *name, char *aname) CFid *afid, *fid; AuthInfo *ai; CFsys *fs; - + fs = nsinit(name); if(fs == nil) return nil; @@ -30,4 +30,3 @@ noauth: fssetroot(fs, fid); return fs; } - -- cgit v1.2.3