diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-13 00:05:17 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-13 00:05:17 +0000 |
commit | 4d47692fb899be6dec58e7e1ae22893ebb92fa37 (patch) | |
tree | 106aa3f2945afd92e88a94a39704a18b5ffc0e75 /include | |
parent | fd5a3d28127f051887b6feb3462928aee045c9ef (diff) | |
download | busybox-w32-4d47692fb899be6dec58e7e1ae22893ebb92fa37.tar.gz busybox-w32-4d47692fb899be6dec58e7e1ae22893ebb92fa37.tar.bz2 busybox-w32-4d47692fb899be6dec58e7e1ae22893ebb92fa37.zip |
arp: stop using globals
function old new delta
hw_set 1 - -1
arp_main 1559 1558 -1
sockfd 8 4 -4
hw 4 - -4
device 4 - -4
ap 4 - -4
packed_usage 25402 25393 -9
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 0/3 up/down: 0/-27) Total: -27 bytes
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/usage.h b/include/usage.h index d38a16e90..9f7358906 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -61,12 +61,11 @@ | |||
61 | "\n -v Verbose" \ | 61 | "\n -v Verbose" \ |
62 | 62 | ||
63 | #define arp_trivial_usage \ | 63 | #define arp_trivial_usage \ |
64 | "\n" \ | 64 | "\n[-vn] [-H type] [-i if] -a [hostname]" \ |
65 | "[-vn] [-H type] [-i if] -a [hostname]\n" \ | 65 | "\n[-v] [-i if] -d hostname [pub]" \ |
66 | "[-v] [-i if] -d hostname [pub]\n" \ | 66 | "\n[-v] [-H type] [-i if] -s hostname hw_addr [temp]" \ |
67 | "[-v] [-H type] [-i if] -s hostname hw_addr [temp]\n" \ | 67 | "\n[-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub" \ |
68 | "[-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub\n" \ | 68 | "\n[-v] [-H type] [-i if] -Ds hostname ifa [netmask nm] pub" |
69 | "[-v] [-H type] [-i if] -Ds hostname ifa [netmask nm] pub\n" | ||
70 | #define arp_full_usage "\n\n" \ | 69 | #define arp_full_usage "\n\n" \ |
71 | "Manipulate ARP cache\n" \ | 70 | "Manipulate ARP cache\n" \ |
72 | "\nOptions:" \ | 71 | "\nOptions:" \ |