about summary refs log tree commit diff
path: root/hurd/lookup-retry.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/lookup-retry.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/lookup-retry.c')
-rw-r--r--hurd/lookup-retry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c
index b1fb9b6744..319e9c0a4c 100644
--- a/hurd/lookup-retry.c
+++ b/hurd/lookup-retry.c
@@ -47,7 +47,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port)
 				 (int which, error_t (*operate) (file_t)),
 			       file_t (*get_dtable_port) (int fd),
 			       error_t (*lookup)
-				 (file_t dir, char *name,
+				 (file_t dir, const char *name,
 				  int flags, mode_t mode,
 				  retry_type *do_retry, string_t retry_name,
 				  mach_port_t *result),