Splitting xfuncs.c into two parts. No code chabges.

This commit is contained in:
Denis Vlasenko
2008-04-09 00:33:23 +00:00
parent 79cedcb2c0
commit b12b1c87b5
3 changed files with 27 additions and 508 deletions

View File

@@ -560,6 +560,7 @@ getopt32(char **argv, const char *applet_opts, ...)
llist_add_to_end((llist_t **)(on_off->optarg), optarg);
} else if (on_off->param_type == PARAM_INT) {
if (optarg)
//TODO: xatoi_u indirectly pulls in printf machinery
*(unsigned*)(on_off->optarg) = xatoi_u(optarg);
} else if (on_off->optarg) {
if (optarg)