summaryrefslogtreecommitdiff
path: root/libfshelp/set-options.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-09-04 18:35:01 +0000
committerRoland McGrath <roland@gnu.org>1998-09-04 18:35:01 +0000
commit5250d031a2fdfcaa688e33b4cab2235c57ea5c46 (patch)
treeffed69191e2c937afcea8b1b4c3a76aaa46cb8bd /libfshelp/set-options.c
parent8dcc9c154da590698944e05e153a9f22a9f45e3a (diff)
1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
* fshelp.h (fshelp_set_options): Use `const' for `char *' parameter. * set-options.c (fshelp_set_options): Fix defn.
Diffstat (limited to 'libfshelp/set-options.c')
-rw-r--r--libfshelp/set-options.c4
1 files changed, 2 insertions, 2 deletions
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));