1.1 --- a/libfsclient/lib/src/client.cc Fri Mar 08 00:26:16 2024 +0100
1.2 +++ b/libfsclient/lib/src/client.cc Fri Mar 08 00:26:54 2024 +0100
1.3 @@ -45,17 +45,16 @@
1.4
1.5 /* Merging of region flags from protection and access flags. */
1.6
1.7 -static l4re_rm_flags_t _combine_region_flags(l4re_rm_flags_t region_flags,
1.8 - flags_t flags)
1.9 +static rm_flags_t _combine_region_flags(rm_flags_t region_flags, flags_t flags)
1.10 {
1.11 return region_flags & (file_region_flags(flags) | L4RE_RM_F_X);
1.12 }
1.13
1.14 /* Conversion of protection and access flags to region flags. */
1.15
1.16 -l4re_rm_flags_t client_region_flags(prot_t prot, flags_t flags)
1.17 +rm_flags_t client_region_flags(prot_t prot, flags_t flags)
1.18 {
1.19 - l4re_rm_flags_t rm_flags = 0;
1.20 + rm_flags_t rm_flags = 0;
1.21
1.22 if (prot & PROT_READ)
1.23 rm_flags |= L4RE_RM_F_R;
1.24 @@ -576,7 +575,7 @@
1.25
1.26 void *client_mmap(file_t *file, offset_t position, offset_t length,
1.27 offset_t start_visible, offset_t end_visible,
1.28 - l4re_rm_flags_t region_flags)
1.29 + rm_flags_t region_flags)
1.30 {
1.31 if (!client_opened(file) || file_mmap(file, position, length, start_visible,
1.32 end_visible, region_flags))