*: 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>
This commit is contained in:
Denys Vlasenko
2010-01-04 13:16:08 +01:00
parent a4899efd03
commit a355da0775
7 changed files with 20 additions and 15 deletions

View File

@@ -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);