]> git.ipfire.org Git - thirdparty/git.git/commit
object-file: move `xmmap()` into "wrapper.c"
authorPatrick Steinhardt <ps@pks.im>
Tue, 15 Apr 2025 09:38:17 +0000 (11:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Apr 2025 15:24:35 +0000 (08:24 -0700)
commit632b5e3ee274a2012a88bc32af2d9cf04c5bd363
tree8f2e31d3b9f8dad801b3ac68d010b9207efa0259
parent97dc141fd676e7079c2fd51e3bea2681a5b9f824
object-file: move `xmmap()` into "wrapper.c"

The `xmmap()` function is provided by "object-file.c" even though its
functionality has nothing to do with the object file subsystem. Move it
into "wrapper.c", whose header already declares those functions.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-file.c
wrapper.c