summaryrefslogtreecommitdiffstats
path: root/usr.bin/xstr
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/xstr
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/xstr')
-rw-r--r--usr.bin/xstr/xstr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xstr/xstr.c b/usr.bin/xstr/xstr.c
index 5f3d0ea..5b68c53 100644
--- a/usr.bin/xstr/xstr.c
+++ b/usr.bin/xstr/xstr.c
@@ -152,7 +152,7 @@ process(name)
continue;
}
for (cp = linebuf; c = *cp++;) switch (c) {
-
+
case '"':
if (incomm)
goto def;
@@ -185,7 +185,7 @@ process(name)
continue;
}
goto def;
-
+
def:
default:
putchar(c);
@@ -219,7 +219,7 @@ yankstr(cpp)
if (c == 0)
break;
if (c == '\n') {
- if (fgets(linebuf, sizeof linebuf, stdin)
+ if (fgets(linebuf, sizeof linebuf, stdin)
== NULL) {
if (ferror(stdin)) {
perror("x.c");
OpenPOWER on IntegriCloud