diff options
-rw-r--r-- | doc/hurd.texi | 2 | ||||
-rw-r--r-- | libfshelp/fshelp.h | 2 | ||||
-rw-r--r-- | libfshelp/set-options.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/hurd.texi b/doc/hurd.texi index dbd5b451..ae478688 100644 --- a/doc/hurd.texi +++ b/doc/hurd.texi @@ -2619,7 +2619,7 @@ an RPC. If @var{len} is greater than zero, @var{buf} is freed, regardless of whether an error is returned or not. @end deftypefun -@deftypefun error_t fshelp_set_options (@w{struct argp *@var{argp}}, @w{int @var{flags}}, @w{char *@var{argz}}, @w{size_t @var{argz_len}}, @w{void *@var{input}}) +@deftypefun error_t fshelp_set_options (@w{const struct argp *@var{argp}}, @w{int @var{flags}}, @w{char *@var{argz}}, @w{size_t @var{argz_len}}, @w{void *@var{input}}) Invoke @code{argp_parse} in the standard way, with data from @var{argz} and @var{argz_len}. @end deftypefun diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h index 43fbcd78..a7702ca2 100644 --- a/libfshelp/fshelp.h +++ b/libfshelp/fshelp.h @@ -258,7 +258,7 @@ fshelp_exec_reauth (int suid, uid_t uid, int sgid, gid_t gid, 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, +error_t fshelp_set_options (const struct argp *argp, int flags, const char *argz, size_t argz_len, void *input); diff --git a/libfshelp/set-options.c b/libfshelp/set-options.c index 77cdba15..a627b841 100644 --- a/libfshelp/set-options.c +++ b/libfshelp/set-options.c @@ -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, +fshelp_set_options (const struct argp *argp, int flags, const char *argz, size_t argz_len, void *input) { int argc = argz_count (argz, argz_len); |