about summary refs log tree commit diff
path: root/hurd/path-lookup.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-28 16:23:59 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-28 16:23:59 +0100
commitf8bee46cc209ee968c1a34a4b46be91ce691dfc6 (patch)
tree7721c64a35efe6df31890ba0cbf7fd0728e5b45e /hurd/path-lookup.c
parent844bf92148eee21805b9248264b6c2c557529cc5 (diff)
downloadglibc-f8bee46cc209ee968c1a34a4b46be91ce691dfc6.tar.gz
glibc-f8bee46cc209ee968c1a34a4b46be91ce691dfc6.tar.xz
glibc-f8bee46cc209ee968c1a34a4b46be91ce691dfc6.zip
hurd: Fix warnings
	* hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
	__hurd_file_name_split, hurd_file_name_split,
	__hurd_directory_name_split, hurd_directory_name_split,
	__hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
	hurd_file_name_path_lookup): Make lookup function parameter take a
	const char *name instead of char *name.
	* hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
	__hurd_directory_name_split): Likewise.
	* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
	* hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
Diffstat (limited to 'hurd/path-lookup.c')
-rw-r--r--hurd/path-lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/path-lookup.c b/hurd/path-lookup.c
index 3861d21cf7..d3906e1c9b 100644
--- a/hurd/path-lookup.c
+++ b/hurd/path-lookup.c
@@ -91,7 +91,7 @@ hurd_file_name_path_lookup (error_t (*use_init_port)
 			      (int which, error_t (*operate) (mach_port_t)),
 			    file_t (*get_dtable_port) (int fd),
 			    error_t (*lookup)
-			      (file_t dir, char *name, int flags, mode_t mode,
+			      (file_t dir, const char *name, int flags, mode_t mode,
 			       retry_type *do_retry, string_t retry_name,
 			       mach_port_t *result),
 			    const char *file_name, const char *path,