diff options
Diffstat (limited to 'networking/telnet.c')
-rw-r--r-- | networking/telnet.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/networking/telnet.c b/networking/telnet.c index ca4896b..2ad44d4 100644 --- a/networking/telnet.c +++ b/networking/telnet.c @@ -35,7 +35,7 @@ #include "busybox.h" #if 0 -static const int DOTRACE = 1; +enum { DOTRACE = 1 }; #endif #ifdef DOTRACE @@ -55,14 +55,14 @@ static const int DOTRACE = 1; #define DATABUFSIZE 128 #define IACBUFSIZE 128 -static const int CHM_TRY = 0; -static const int CHM_ON = 1; -static const int CHM_OFF = 2; +enum { + CHM_TRY = 0, + CHM_ON = 1, + CHM_OFF = 2, -static const int UF_ECHO = 0x01; -static const int UF_SGA = 0x02; + UF_ECHO = 0x01, + UF_SGA = 0x02, -enum { TS_0 = 1, TS_IAC = 2, TS_OPT = 3, |