summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-02-07 23:30:11 +0000
committerMiles Bader <miles@gnu.org>1996-02-07 23:30:11 +0000
commit4cfb138288db3bf1a98de6e7e18a55187afe4c81 (patch)
tree7f72772c9861613eb30c5b9f3a6eeea965d558f9
parentb386d424732ec25579730e9f82b279e5ba1509a4 (diff)
(diskfs_parse_runtime_options): Make STANDARD_ARGP const.
(diskfs_startup_argp, diskfs_device_startup_argp): Make const.
-rw-r--r--libdiskfs/diskfs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index f086b5a8..62d15776 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -483,7 +483,7 @@ error_t diskfs_node_reload (struct node *node);
-- which is the behavior of the default implementation of this function.
EINVAL is returned if an unknown option is encountered. */
error_t diskfs_parse_runtime_options (int argc, char **argv,
- struct argp *standard_argp);
+ const struct argp *standard_argp);
/* If this function is nonzero (and diskfs_shortcut_symlink is set) it
is called to set a symlink. If it returns EINVAL or isn't set,
@@ -950,7 +950,7 @@ error_t diskfs_get_options (char **argz, unsigned *argz_len);
arguments. The user may call argp_parse on this to parse the command
line, chain it onto the end of his own argp structure, or ignore it
completely. */
-extern struct argp *diskfs_startup_argp;
+extern const struct argp *diskfs_startup_argp;
/* Demultiplex incoming messages on ports created by libdiskfs. */
int diskfs_demuxer (mach_msg_header_t *, mach_msg_header_t *);
@@ -968,7 +968,7 @@ int diskfs_demuxer (mach_msg_header_t *, mach_msg_header_t *);
arguments, that also parses a device argument. The user may call
argp_parse on this to parse the command line, chain it onto the end of his
own argp structure, or ignore it completely. */
-extern struct argp *diskfs_device_startup_argp;
+extern const struct argp *diskfs_device_startup_argp;
/* The following two are set by the preceding argument parser: */
/* The device specifier given on the command line. */