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 | 771467d73865b27e02692a457e57c4000e820b3e (patch) | |
| tree | 48f5370752c465d5ecf0def5275ab3415606193b /ufs | |
| parent | d286c10634bb2a91e847b00ed778a1af439d0437 (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; |
