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/fshelp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libfshelp/fshelp.h') 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 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); -- cgit v1.2.3