diff options
author | Rob Landley <rob@landley.net> | 2018-11-17 18:25:08 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-11-17 18:25:08 -0600 |
commit | 503e6362290d56bce0ed71f8164f24e25108bbbc (patch) | |
tree | 06d962fb5a547aa07f387d879cb28ff84fd23b78 /toys/net/ping.c | |
parent | 7d26f1071d17dc2980280008fbbcd8a6a376d387 (diff) | |
download | toybox-503e6362290d56bce0ed71f8164f24e25108bbbc.tar.gz |
Convert more GLOBALS argument vars to the new single letter code style.
Diffstat (limited to 'toys/net/ping.c')
-rw-r--r-- | toys/net/ping.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/toys/net/ping.c b/toys/net/ping.c index ad7679fd..1829af71 100644 --- a/toys/net/ping.c +++ b/toys/net/ping.c @@ -11,7 +11,7 @@ * Yes, I wimped out and capped -s at sizeof(toybuf), waiting for a complaint... // -s > 4088 = sizeof(toybuf)-sizeof(struct icmphdr), then kernel adds 20 bytes -USE_PING(NEWTOY(ping, "<1>1m#t#<0>255=64c#<0=3s#<0>4088=56I:i%W#<0=3w#<0qf46[-46]", TOYFLAG_USR|TOYFLAG_BIN)) +USE_PING(NEWTOY(ping, "<1>1m#t#<0>255=64c#<0=3s#<0>4088=56i%W#<0=3w#<0qf46I:[-46]", TOYFLAG_USR|TOYFLAG_BIN)) USE_PING(OLDTOY(ping6, ping, TOYFLAG_USR|TOYFLAG_BIN)) config PING @@ -47,9 +47,8 @@ config PING #include <netinet/ip_icmp.h> GLOBALS( - long w, W, i; char *I; - long s, c, t, m; + long w, W, i, s, c, t, m; struct sockaddr *sa; int sock; |