From b1b6e1e7df5c7b7bfb2ed25b7ac9f3559cd6f9b3 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 3 Jul 1996 17:26:54 +0000 Subject: Include . (startup_parents, runtime_parents): Declare const. --- ufs/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ufs/main.c') diff --git a/ufs/main.c b/ufs/main.c index e62834dc..24a5723d 100644 --- a/ufs/main.c +++ b/ufs/main.c @@ -25,6 +25,7 @@ #include #include #include +#include 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; -- cgit v1.2.3