From e5c4d8bf46d00831bdb8da92edfe996ada0110fb Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 21 Sep 2013 13:19:16 +0200 Subject: 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. --- libfshelp/set-options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libfshelp/set-options.c') 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); -- cgit v1.2.3