summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-03 17:26:54 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-03 17:26:54 +0000
commitb1b6e1e7df5c7b7bfb2ed25b7ac9f3559cd6f9b3 (patch)
treefbcb709b8990b5c1af092fd59c96a68de9c4eea4 /ufs
parent55869d539377a61859a19f71fe9dbb8b4e9cde03 (diff)
Include <argz.h>.
(startup_parents, runtime_parents): Declare const.
Diffstat (limited to 'ufs')
-rw-r--r--ufs/main.c5
1 files changed, 3 insertions, 2 deletions
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 <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;