aboutsummaryrefslogtreecommitdiff
path: root/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'telnet.c')
-rw-r--r--telnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telnet.c b/telnet.c
index d47bf699b..edcc5081f 100644
--- a/telnet.c
+++ b/telnet.c
@@ -85,7 +85,7 @@ enum {
85typedef unsigned char byte; 85typedef unsigned char byte;
86 86
87/* use globals to reduce size ??? */ /* test this hypothesis later */ 87/* use globals to reduce size ??? */ /* test this hypothesis later */
88struct Globalvars { 88static struct Globalvars {
89 int netfd; /* console fd:s are 0 and 1 (and 2) */ 89 int netfd; /* console fd:s are 0 and 1 (and 2) */
90 /* same buffer used both for network and console read/write */ 90 /* same buffer used both for network and console read/write */
91 char * buf; /* allocating so static size is smaller */ 91 char * buf; /* allocating so static size is smaller */
@@ -108,7 +108,7 @@ struct Globalvars {
108struct Globalvars * Gptr; 108struct Globalvars * Gptr;
109#define G (*Gptr) 109#define G (*Gptr)
110#else 110#else
111struct Globalvars G; 111static struct Globalvars G;
112#endif 112#endif
113 113
114static inline void iacflush() 114static inline void iacflush()