diff options
author | Miles Bader <miles@gnu.org> | 1996-10-24 22:43:08 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-10-24 22:43:08 +0000 |
commit | bc3a700274acea55aca1a931d9e691acb39d1172 (patch) | |
tree | b56a85e2bbac1ca3a9a46ca647c3716957f4208c /ufs | |
parent | e1ee9052d5437b5a80c12ccc3f81dda1f9f210e7 (diff) |
(startup_children, runtime_children):
New variables.
(startup_parents, runtime_parents):
Variables removed.
(startup_argp, runtime_argp):
Use new *_CHILDREN variables instead of corresponding *_PARENT ones.
Diffstat (limited to 'ufs')
-rw-r--r-- | ufs/main.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -120,12 +120,14 @@ parse_opt (int key, char *arg, struct argp_state *state) } /* Add our startup arguments to the standard diskfs set. */ -static const struct argp *startup_parents[] = { &diskfs_store_startup_argp, 0}; -static struct argp startup_argp = {options, parse_opt, 0, 0, startup_parents}; +static const struct argp_child startup_children[] = + {{&diskfs_store_startup_argp}, {0}}; +static struct argp startup_argp = {options, parse_opt, 0, 0, startup_children}; /* Similarly at runtime. */ -static const struct argp *runtime_parents[] = {&diskfs_std_runtime_argp, 0}; -static struct argp runtime_argp = {options, parse_opt, 0, 0, runtime_parents}; +static const struct argp_child runtime_children[] = + {{&diskfs_std_runtime_argp}, {0}}; +static struct argp runtime_argp = {options, parse_opt, 0, 0, runtime_children}; struct argp *diskfs_runtime_argp = (struct argp *)&runtime_argp; |