diff options
Diffstat (limited to 'networking/ping.c')
-rw-r--r-- | networking/ping.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/networking/ping.c b/networking/ping.c index 47b9f8f..ecfd125 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -33,13 +33,15 @@ #include "busybox.h" -static const int DEFDATALEN = 56; -static const int MAXIPLEN = 60; -static const int MAXICMPLEN = 76; -static const int MAXPACKET = 65468; -#define MAX_DUP_CHK (8 * 128) -static const int MAXWAIT = 10; -static const int PINGINTERVAL = 1; /* second */ +enum { + DEFDATALEN = 56, + MAXIPLEN = 60, + MAXICMPLEN = 76, + MAXPACKET = 65468, + MAX_DUP_CHK = (8 * 128), + MAXWAIT = 10, + PINGINTERVAL = 1 /* second */ +}; #define O_QUIET (1 << 0) |