diff options
author | Dan Cross <cross@gajendra.net> | 2020-01-10 14:44:21 +0000 |
---|---|---|
committer | Dan Cross <cross@gajendra.net> | 2020-01-10 14:54:30 +0000 |
commit | fa325e9b42b0bdfb48857d1958d9fb7ceac55151 (patch) | |
tree | 81d26256d152435135bcb1ae43121979a49f5f2b /src/libacme | |
parent | 77a0a5b5194d4441c86de097f2aae297cb75e2c2 (diff) | |
download | plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.gz plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.bz2 plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.zip |
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>
Diffstat (limited to 'src/libacme')
-rw-r--r-- | src/libacme/acme.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libacme/acme.c b/src/libacme/acme.c index 8904b4c2..3fd9d4fc 100644 --- a/src/libacme/acme.c +++ b/src/libacme/acme.c @@ -45,7 +45,7 @@ openwin(int id, CFid *ctl) { char buf[100]; Win *w; - + mountacme(); if(ctl == nil){ snprint(buf, sizeof buf, "%d/ctl", id); @@ -166,7 +166,7 @@ int winopenfd(Win *w, char *name, int mode) { char buf[100]; - + snprint(buf, sizeof buf, "%d/%s", w->id, name); return fsopenfd(acmefs, buf, mode); } @@ -243,7 +243,7 @@ winreadaddr(Win *w, uint *q1) char buf[40], *p; uint q0; int n; - + n = fspread(wfid(w, "addr"), buf, sizeof buf-1, 0); if(n <= 0) return -1; @@ -271,7 +271,7 @@ winmread(Win *w, char *file) { char *buf; int n, tot, m; - + m = 128; buf = emalloc(m+1); tot = 0; @@ -568,7 +568,7 @@ eventreader(void *v) Event e[2]; Win *w; int i; - + w = v; i = 0; for(;;){ |