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/libacme/acme.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libacme') 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(;;){ -- cgit v1.2.3