summaryrefslogtreecommitdiff
path: root/misc/window/files/patch-tt.h
blob: 4deb383d7cfc61a6f14bb6fa528198dc5b33c233 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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)))