diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 13:19:16 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 13:19:16 +0200 |
commit | e5c4d8bf46d00831bdb8da92edfe996ada0110fb (patch) | |
tree | 82aecb8f2f944beadfa4722547fa30b6aec1451a /doc | |
parent | de67a25fed974b5446194cb14a3ce5e6cdf60775 (diff) |
Fix gcc warning
* libfshelp/fshelp.h (fshelp_set_options): Make `argp` pointer const.
* libfshelp/set-options.c (fshelp_set_options): Likewise.
* doc/hurd.texi (fshelp_set_options): Likewise.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/hurd.texi | 2 |
1 files changed, 1 insertions, 1 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 |