diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-04 13:16:08 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-04 13:16:08 +0100 |
commit | a355da07756e529c112249653ed5af0e2d910728 (patch) | |
tree | 3b36dd1ec8618a39c8324bcfdca77f6f8f497a18 /console-tools | |
parent | a4899efd03d2fdaaf3f581d89a7a4844832d3fbb (diff) | |
download | busybox-a355da07756e529c112249653ed5af0e2d910728.tar.gz |
*: make 2 more "int argc"'s unused; more saved if !DESKTOP
function old new delta
sync_main 18 20 +2
tty_main 90 87 -3
iprule_list 83 79 -4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/dumpkmap.c | 4 | ||||
-rw-r--r-- | console-tools/loadkmap.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c index c382b5af9..061fc4792 100644 --- a/console-tools/dumpkmap.c +++ b/console-tools/dumpkmap.c @@ -28,9 +28,9 @@ int dumpkmap_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) { struct kbentry ke; int i, j, fd; - RESERVE_CONFIG_BUFFER(flags,MAX_NR_KEYMAPS); + RESERVE_CONFIG_BUFFER(flags, MAX_NR_KEYMAPS); -/* bb_warn_ignoring_args(argc>=2);*/ +/* bb_warn_ignoring_args(argv[1]);*/ fd = get_console_fd_or_die(); diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c index a6b9a86aa..912291a7d 100644 --- a/console-tools/loadkmap.c +++ b/console-tools/loadkmap.c @@ -30,9 +30,9 @@ int loadkmap_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) int i, j, fd; uint16_t ibuff[NR_KEYS]; /* const char *tty_name = CURRENT_TTY; */ - RESERVE_CONFIG_BUFFER(flags,MAX_NR_KEYMAPS); + RESERVE_CONFIG_BUFFER(flags, MAX_NR_KEYMAPS); -/* bb_warn_ignoring_args(argc >= 2); */ +/* bb_warn_ignoring_args(argv[1]); */ fd = get_console_fd_or_die(); /* or maybe: opt = getopt32(argv, "C:", &tty_name); |