diff options
Diffstat (limited to 'libfshelp')
-rw-r--r-- | libfshelp/fshelp.h | 2 | ||||
-rw-r--r-- | libfshelp/set-options.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h index 50532166..9218b1e6 100644 --- a/libfshelp/fshelp.h +++ b/libfshelp/fshelp.h @@ -232,7 +232,7 @@ struct argp; /* Include <argp.h> to get the real thing. */ /* Invoke ARGP with data from DATA & LEN, in the standard way. */ error_t fshelp_set_options (struct argp *argp, int flags, - char *argz, size_t argz_len, void *input); + const char *argz, size_t argz_len, void *input); /* Standardized filesystem permission checking */ diff --git a/libfshelp/set-options.c b/libfshelp/set-options.c index ba1e50d5..91004ab2 100644 --- a/libfshelp/set-options.c +++ b/libfshelp/set-options.c @@ -1,6 +1,6 @@ /* Standard filesystem runtime option parsing - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1998 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> @@ -32,7 +32,7 @@ /* Invoke ARGP with data from DATA & LEN, in the standard way. */ error_t fshelp_set_options (struct argp *argp, int flags, - char *argz, size_t argz_len, void *input) + const char *argz, size_t argz_len, void *input) { int argc = argz_count (argz, argz_len); char **argv = alloca (sizeof (char *) * (argc + 1)); |