From f8bee46cc209ee968c1a34a4b46be91ce691dfc6 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 28 Jan 2018 16:23:59 +0100 Subject: 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. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 3ca2409663..9a34b84153 100644 --- a/ChangeLog +++ b/ChangeLog @@ -39,6 +39,16 @@ critical section to make code simpler and avoid warning. * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath const char * instead of char *. + * 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. 2018-01-27 James Clarke -- cgit 1.4.1