diff options
| author | wkj <devnull@localhost> | 2004-05-17 02:23:11 +0000 |
|---|---|---|
| committer | wkj <devnull@localhost> | 2004-05-17 02:23:11 +0000 |
| commit | 1f72bc47fe416f8fa00d8cea27ee1482fba28c20 (patch) | |
| tree | de3d265ad04b75af97bb591189534232c2ac9b81 /src/cmd/troff/n8.c | |
| parent | e98091cf8d836fca982a5baac166e138edd670b1 (diff) | |
| download | plan9port-1f72bc47fe416f8fa00d8cea27ee1482fba28c20.tar.gz plan9port-1f72bc47fe416f8fa00d8cea27ee1482fba28c20.zip | |
Tweak to make troff compile silently.
Diffstat (limited to 'src/cmd/troff/n8.c')
| -rw-r--r-- | src/cmd/troff/n8.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/cmd/troff/n8.c b/src/cmd/troff/n8.c index bace4aae..ded45438 100644 --- a/src/cmd/troff/n8.c +++ b/src/cmd/troff/n8.c @@ -461,19 +461,13 @@ static int texit(Tchar *start, Tchar *end) /* hyphenate as in tex, return # foun characters. sigh. */ -extern char *unsharp(char*); - -static char *texhyphens; - static int readpats(void) { FILE *fp; char buf[200], buf1[200]; - if(texhyphens == 0) - texhyphens = unsharp(TEXHYPHENS); - if ((fp = fopen(texhyphens, "r")) == NULL - && (fp = fopen(DWBalthyphens, "r")) == NULL) { + if ((fp = fopen(unsharp(TEXHYPHENS), "r")) == NULL + && (fp = fopen(unsharp(DWBalthyphens), "r")) == NULL) { ERROR "warning: can't find hyphen.tex" WARN; return 0; } |
