aboutsummaryrefslogtreecommitdiff
path: root/src/libbio
diff options
context:
space:
mode:
authorDan Cross <cross@gajendra.net>2020-01-10 14:44:21 +0000
committerDan Cross <cross@gajendra.net>2020-01-10 14:54:30 +0000
commitfa325e9b42b0bdfb48857d1958d9fb7ceac55151 (patch)
tree81d26256d152435135bcb1ae43121979a49f5f2b /src/libbio
parent77a0a5b5194d4441c86de097f2aae297cb75e2c2 (diff)
downloadplan9port-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/libbio')
-rw-r--r--src/libbio/bcat.c2
-rw-r--r--src/libbio/brdstr.c2
-rw-r--r--src/libbio/bvprint.c2
-rw-r--r--src/libbio/lib9.std.h1
4 files changed, 3 insertions, 4 deletions
diff --git a/src/libbio/bcat.c b/src/libbio/bcat.c
index 7c9b39e9..cc8e53d8 100644
--- a/src/libbio/bcat.c
+++ b/src/libbio/bcat.c
@@ -14,7 +14,7 @@ bcat(Biobuf *b, char *name)
fprint(2, "writing during %s: %r\n", name);
}
if(n < 0)
- fprint(2, "reading %s: %r\n", name);
+ fprint(2, "reading %s: %r\n", name);
}
int
diff --git a/src/libbio/brdstr.c b/src/libbio/brdstr.c
index 52baf517..30d40db4 100644
--- a/src/libbio/brdstr.c
+++ b/src/libbio/brdstr.c
@@ -99,7 +99,7 @@ Brdstr(Biobuf *bp, int delim, int nulldelim)
}
ip += j;
}
-
+
/*
* full buffer without finding; add to user string and continue
*/
diff --git a/src/libbio/bvprint.c b/src/libbio/bvprint.c
index 60b105fa..0b1aaf6b 100644
--- a/src/libbio/bvprint.c
+++ b/src/libbio/bvprint.c
@@ -1,7 +1,7 @@
#include "lib9.h"
#include <bio.h>
-static int
+static int
fmtBflush(Fmt *f)
{
Biobuf *bp;
diff --git a/src/libbio/lib9.std.h b/src/libbio/lib9.std.h
index 180471e1..e4897023 100644
--- a/src/libbio/lib9.std.h
+++ b/src/libbio/lib9.std.h
@@ -23,4 +23,3 @@ typedef unsigned long long uvlong;
#define seek(fd, offset, whence) lseek(fd, offset, whence)
#define create(name, mode, perm) creat(name, perm)
-