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 ca4896bf0..2ad44d429 100644 --- a/networking/telnet.c +++ b/networking/telnet.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include "busybox.h" | 35 | #include "busybox.h" |
36 | 36 | ||
37 | #if 0 | 37 | #if 0 |
38 | static const int DOTRACE = 1; | 38 | enum { DOTRACE = 1 }; |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | #ifdef DOTRACE | 41 | #ifdef DOTRACE |
@@ -55,14 +55,14 @@ static const int DOTRACE = 1; | |||
55 | #define DATABUFSIZE 128 | 55 | #define DATABUFSIZE 128 |
56 | #define IACBUFSIZE 128 | 56 | #define IACBUFSIZE 128 |
57 | 57 | ||
58 | static const int CHM_TRY = 0; | 58 | enum { |
59 | static const int CHM_ON = 1; | 59 | CHM_TRY = 0, |
60 | static const int CHM_OFF = 2; | 60 | CHM_ON = 1, |
61 | CHM_OFF = 2, | ||
61 | 62 | ||
62 | static const int UF_ECHO = 0x01; | 63 | UF_ECHO = 0x01, |
63 | static const int UF_SGA = 0x02; | 64 | UF_SGA = 0x02, |
64 | 65 | ||
65 | enum { | ||
66 | TS_0 = 1, | 66 | TS_0 = 1, |
67 | TS_IAC = 2, | 67 | TS_IAC = 2, |
68 | TS_OPT = 3, | 68 | TS_OPT = 3, |