diff options
Diffstat (limited to 'misc/window/files/patch-tt.h')
-rw-r--r-- | misc/window/files/patch-tt.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/misc/window/files/patch-tt.h b/misc/window/files/patch-tt.h new file mode 100644 index 000000000000..4deb383d7cfc --- /dev/null +++ b/misc/window/files/patch-tt.h @@ -0,0 +1,35 @@ +--- tt.h.orig 2008-07-12 06:05:22 UTC ++++ tt.h +@@ -98,7 +98,7 @@ struct tt { + /* ttflush() hook */ + int (*tt_flush)(); + }; +-struct tt tt; ++extern struct tt tt; + + /* + * tt_padc is used by the compression routine. +@@ -120,8 +120,8 @@ extern struct tt_tab tt_tab[]; + * Clean interface to termcap routines. + * Too may t's. + */ +-char tt_strings[1024]; /* string buffer */ +-char *tt_strp; /* pointer for it */ ++extern char tt_strings[1024]; /* string buffer */ ++extern char *tt_strp; /* pointer for it */ + + struct tt_str { + char *ts_str; +@@ -140,9 +140,9 @@ int tttputc(); + * These variables have different meanings from the ww_ob* variables. + * But I'm too lazy to think up different names. + */ +-char *tt_ob; +-char *tt_obp; +-char *tt_obe; ++extern char *tt_ob; ++extern char *tt_obp; ++extern char *tt_obe; + #define ttputc(c) (tt_obp < tt_obe ? (*tt_obp++ = (c)) \ + : (ttflush(), *tt_obp++ = (c))) + |