aboutsummaryrefslogtreecommitdiff
path: root/toys/pending
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-09-29 05:09:46 -0500
committerRob Landley <rob@landley.net>2015-09-29 05:09:46 -0500
commit7d6af77804adc069a83e8566250f868a6cb9786e (patch)
tree92b6b57f55c41ab13164c1d448b3cdd1129703b4 /toys/pending
parent3b51a07e478d64a84e40b3a7c026b2f8566b194b (diff)
downloadtoybox-7d6af77804adc069a83e8566250f868a6cb9786e.tar.gz
Make defconfig build for nommu.
Adds XVFORK() macro, teaches xpopen_both() to call /proc/self/exe with NULL argv (and converts cpio -p to use that), adds TOYBOX_FORK guards to some unconverted commands.
Diffstat (limited to 'toys/pending')
-rw-r--r--toys/pending/arping.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/toys/pending/arping.c b/toys/pending/arping.c
index 3e522bdf..be43cab1 100644
--- a/toys/pending/arping.c
+++ b/toys/pending/arping.c
@@ -39,15 +39,9 @@ GLOBALS(
char *src_ip;
int sockfd;
- unsigned start;
- unsigned end;
- unsigned sent_at;
- unsigned sent_nr;
- unsigned rcvd_nr;
- unsigned brd_sent;
- unsigned rcvd_req;
- unsigned brd_rcv;
- unsigned unicast_flag;
+ unsigned long start, end;
+ unsigned sent_at, sent_nr, rcvd_nr, brd_sent, rcvd_req, brd_rcv,
+ unicast_flag;
)
struct sockaddr_ll src_pk, dst_pk;