aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/postscript/tr2post/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/postscript/tr2post/utils.c')
-rw-r--r--src/cmd/postscript/tr2post/utils.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/cmd/postscript/tr2post/utils.c b/src/cmd/postscript/tr2post/utils.c
index e9979ff1..9b51d036 100644
--- a/src/cmd/postscript/tr2post/utils.c
+++ b/src/cmd/postscript/tr2post/utils.c
@@ -88,12 +88,13 @@ void
glyphout(Rune rune, char *stoken, BOOLEAN specialflag) {
struct charent **cp;
struct troffont *tfp;
- struct psfent *psfp;
+ struct psfent *psfp = (struct psfent*)0;
int i, t;
int fontid; /* this is the troff font table index, not the mounted font table index */
- int mi, fi, wid;
+ int mi, wid;
Rune r;
+ mi = 0;
settrfont();
/* check current font for the character, special or not */
@@ -187,8 +188,6 @@ foundit:
if (t == 0x0001) { /* character is in charlib */
endstring();
if (pageon()) {
- struct charent *tcp;
-
Bprint(Bstdout, "%d %d m ", hpos, vpos);
/* if char is unicode character rather than name, clean up for postscript */
wid = chartorune(&r, (*cp)->name);
@@ -250,7 +249,7 @@ specialout(char *stoken) {
}
void
-graphfunc(Biobufhdr *bp) {
+graphfunc(Biobuf *bp) {
}
long