aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tbl/tm.c
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2004-05-17 02:23:43 +0000
committerwkj <devnull@localhost>2004-05-17 02:23:43 +0000
commit8a3cbc157981485adc947c0477dc3e4907acc9a3 (patch)
tree349384ec94a177152ef945dcf41b9d368de5bf18 /src/cmd/tbl/tm.c
parent1f72bc47fe416f8fa00d8cea27ee1482fba28c20 (diff)
downloadplan9port-8a3cbc157981485adc947c0477dc3e4907acc9a3.tar.gz
plan9port-8a3cbc157981485adc947c0477dc3e4907acc9a3.tar.bz2
plan9port-8a3cbc157981485adc947c0477dc3e4907acc9a3.zip
Make tbl compile silently.
Diffstat (limited to 'src/cmd/tbl/tm.c')
-rw-r--r--src/cmd/tbl/tm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/tbl/tm.c b/src/cmd/tbl/tm.c
index 7bf49e53..8fa4e497 100644
--- a/src/cmd/tbl/tm.c
+++ b/src/cmd/tbl/tm.c
@@ -9,14 +9,14 @@ maknew(char *str)
char *p, *q, *ba;
p = str;
- for (ba = 0; (c = *str); str++)
+ for (ba = 0; c = *str; str++)
if (c == '\\' && *(str + 1) == '&')
ba = str;
str = p;
if (ba == 0) {
for (dpoint = 0; *str; str++) {
if (*str == '.' && !ineqn(str, p) &&
- ((str > p && digit(*(str - 1))) ||
+ (str > p && digit(*(str - 1)) ||
digit(*(str + 1))))
dpoint = (int)str;
}
@@ -37,7 +37,7 @@ maknew(char *str)
exlim = exstore + MAXCHS;
}
q = exstore;
- while ((*exstore++ = *str++))
+ while (*exstore++ = *str++)
;
*p = 0;
return(q);
@@ -50,7 +50,7 @@ ineqn (char *s, char *p)
/* true if s is in a eqn within p */
int ineq = 0, c;
- while ((c = *p)) {
+ while (c = *p) {
if (s == p)
return(ineq);
p++;