35 |
#endif |
#endif |
36 |
|
|
37 |
int last_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
int last_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
38 |
int last_main(int argc, char **argv UNUSED_PARAM) |
int last_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) |
39 |
{ |
{ |
40 |
struct utmp ut; |
struct utmp ut; |
41 |
int n, file = STDIN_FILENO; |
int n, file = STDIN_FILENO; |
56 |
TYPE_OLD_TIME /* OLD_TIME, 4 */ |
TYPE_OLD_TIME /* OLD_TIME, 4 */ |
57 |
}; |
}; |
58 |
|
|
59 |
if (argc > 1) { |
if (argv[1]) { |
60 |
bb_show_usage(); |
bb_show_usage(); |
61 |
} |
} |
62 |
file = xopen(bb_path_wtmp_file, O_RDONLY); |
file = xopen(bb_path_wtmp_file, O_RDONLY); |