diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-07-03 17:26:54 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-07-03 17:26:54 +0000 |
commit | b1b6e1e7df5c7b7bfb2ed25b7ac9f3559cd6f9b3 (patch) | |
tree | fbcb709b8990b5c1af092fd59c96a68de9c4eea4 /ufs | |
parent | 55869d539377a61859a19f71fe9dbb8b4e9cde03 (diff) |
Include <argz.h>.
(startup_parents, runtime_parents): Declare const.
Diffstat (limited to 'ufs')
-rw-r--r-- | ufs/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -25,6 +25,7 @@ #include <unistd.h> #include <stdlib.h> #include <string.h> +#include <argz.h> char *ufs_version = "0.0"; @@ -113,11 +114,11 @@ parse_opt (int key, char *arg, struct argp_state *state) } /* Add our startup arguments to the standard diskfs set. */ -static struct argp *startup_parents[] = { &diskfs_std_device_startup_argp, 0}; +static const struct argp *startup_parents[] = { &diskfs_std_device_startup_argp, 0}; static struct argp startup_argp = {options, parse_opt, 0, 0, startup_parents}; /* Similarly at runtime. */ -static struct argp *runtime_parents[] = {&diskfs_std_runtime_argp, 0}; +static const struct argp *runtime_parents[] = {&diskfs_std_runtime_argp, 0}; static struct argp runtime_argp = {options, parse_opt, 0, 0, runtime_parents}; struct argp *diskfs_runtime_argp = (struct argp *)&runtime_argp; |