aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-19 23:49:41 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-19 23:49:41 +0000
commit92d23245c93eb7db64818384ee6c5366a465e29e (patch)
tree1ccb6d69a226fdc1efb283cc1b0d2cc321f5b942 /networking
parent40eaa9f0bb2c689552e39890592ed773d870c1fa (diff)
downloadbusybox-92d23245c93eb7db64818384ee6c5366a465e29e.tar.gz
Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/telnet.c4
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 {
typedef unsigned char byte;
/* use globals to reduce size ??? */ /* test this hypothesis later */
-struct Globalvars {
+static struct Globalvars {
int netfd; /* console fd:s are 0 and 1 (and 2) */
/* same buffer used both for network and console read/write */
char * buf; /* allocating so static size is smaller */
@@ -108,7 +108,7 @@ struct Globalvars {
struct Globalvars * Gptr;
#define G (*Gptr)
#else
-struct Globalvars G;
+static struct Globalvars G;
#endif
static inline void iacflush()