diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-19 23:49:41 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-19 23:49:41 +0000 |
commit | 8775faaeafdb04c8fc390a822a4588a95c98e4b2 (patch) | |
tree | 1ccb6d69a226fdc1efb283cc1b0d2cc321f5b942 /networking | |
parent | 9fcedc7b123534eb437ac0366fbb2588862f9d4c (diff) | |
download | busybox-w32-8775faaeafdb04c8fc390a822a4588a95c98e4b2.tar.gz busybox-w32-8775faaeafdb04c8fc390a822a4588a95c98e4b2.tar.bz2 busybox-w32-8775faaeafdb04c8fc390a822a4588a95c98e4b2.zip |
Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>
git-svn-id: svn://busybox.net/trunk/busybox@2163 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r-- | networking/telnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index d47bf699b..edcc5081f 100644 --- a/networking/telnet.c +++ b/networking/telnet.c | |||
@@ -85,7 +85,7 @@ enum { | |||
85 | typedef unsigned char byte; | 85 | typedef 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 */ |
88 | struct Globalvars { | 88 | static 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 { | |||
108 | struct Globalvars * Gptr; | 108 | struct Globalvars * Gptr; |
109 | #define G (*Gptr) | 109 | #define G (*Gptr) |
110 | #else | 110 | #else |
111 | struct Globalvars G; | 111 | static struct Globalvars G; |
112 | #endif | 112 | #endif |
113 | 113 | ||
114 | static inline void iacflush() | 114 | static inline void iacflush() |