diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-10-23 00:24:25 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-10-23 00:24:25 +0000 |
commit | ab1717bb35d85041e0184f79daa1313a1306dc01 (patch) | |
tree | fa0739f76b49b902269f8f7c1e1c7c5ea30c0556 /tbl/t8.c | |
parent | aa7798c94fa57f6c00fab4393c9fe91334864371 (diff) |
Notes
Diffstat (limited to 'tbl/t8.c')
-rw-r--r-- | tbl/t8.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tbl/t8.c b/tbl/t8.c index 2fe8b352b5b66..d5d45bc8ae83e 100644 --- a/tbl/t8.c +++ b/tbl/t8.c @@ -26,8 +26,8 @@ # include "t..c" # include <inttypes.h> # define realsplit ((ct=='a'||ct=='n') && table[nl][c].rcol) -int watchout; -int once; +static int watchout; +static int once; void putline ( /* i is line number for deciding format */ @@ -140,9 +140,9 @@ putline ( for(c=0; c<ncol; c++) { if (utf8 || tlp) { - char *s = table[nl][c ? c-1 : 0].col; - if ((lwid = lefdata(i, c)) && (!ifline(s) || - *s == '\\')) { + char *_s = table[nl][c ? c-1 : 0].col; + if ((lwid = lefdata(i, c)) && (!ifline(_s) || + *_s == '\\')) { tohcol(c); fprintf(tabout, "%s", tlp ? "|" : @@ -412,13 +412,13 @@ funnies(int stl, int lin) fprintf(tabout,"\n"); } void -putfont(char *fn) +putfont(const char *fn) { if (fn && *fn) fprintf(tabout, fn[1] ? "\\f(%.2s" : "\\f%.2s", fn); } void -putsize(char *s) +putsize(const char *s) { if (s && *s) fprintf(tabout, "\\s%s",s); |