diff options
author | Ken Brown <kbrown@cornell.edu> | 2024-12-29 18:20:07 -0500 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2025-01-09 17:51:27 -0500 |
commit | fb8681e4ca9cb4c491a376b2de0e2a06b35890f0 (patch) | |
tree | 39f47e24b25d97d5fa14f1ba3283bf6e11c3ad01 /include/gcc-c-interface.h | |
parent | ceda26c9d35b7a53705685e82541fa9b6b9b05ee (diff) | |
download | newlib-fb8681e4ca9cb4c491a376b2de0e2a06b35890f0.zip newlib-fb8681e4ca9cb4c491a376b2de0e2a06b35890f0.tar.gz newlib-fb8681e4ca9cb4c491a376b2de0e2a06b35890f0.tar.bz2 |
Cygwin: mmap_list::try_map: simplify
Save the result of mmap_record::find_unused pages, and then pass that
result to the appropriate version of mmap_record::map_pages. Add a
new parameter of type off_t to the latter to make this possible, and
change its return type from off_t to bool. This saves map_pages from
having to call find_unused_pages again.
Signed-off-by: Ken Brown <kbrown@cornell.edu>
Diffstat (limited to 'include/gcc-c-interface.h')
0 files changed, 0 insertions, 0 deletions