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 | fbfb38b6e5f7aff900b2303cf0d0c727665a2774 (patch) | |
| tree | 61dd4c98bbe0bf0345e010c498348b00c1acca9f | |
| parent | 76517cab5502819134c061d53c45e3f8d7d95914 (diff) | |
Include <argz.h>.
(startup_parents, runtime_parents): Declare const.
| -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; |
