15 |
int which_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
int which_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
16 |
int which_main(int argc UNUSED_PARAM, char **argv) |
int which_main(int argc UNUSED_PARAM, char **argv) |
17 |
{ |
{ |
18 |
USE_DESKTOP(int opt;) |
IF_DESKTOP(int opt;) |
19 |
int status = EXIT_SUCCESS; |
int status = EXIT_SUCCESS; |
20 |
char *path; |
char *path; |
21 |
char *p; |
char *p; |
22 |
|
|
23 |
opt_complementary = "-1"; /* at least one argument */ |
opt_complementary = "-1"; /* at least one argument */ |
24 |
USE_DESKTOP(opt =) getopt32(argv, "a"); |
IF_DESKTOP(opt =) getopt32(argv, "a"); |
25 |
argv += optind; |
argv += optind; |
26 |
|
|
27 |
/* This matches what is seen on e.g. ubuntu. |
/* This matches what is seen on e.g. ubuntu. |