[LTP] [PATCH v2 1/1] include: Move safe_mmap into tst_safe_macros_inline.h

Li Wang liwang@redhat.com
Fri Feb 28 03:51:45 CET 2025


On Fri, Feb 28, 2025 at 1:05 AM Petr Vorel <pvorel@suse.cz> wrote:

> tst_safe_macros_inline.h contains functions which are forced to be
> 'inline' because the behaviour may depend on -D_FILE_OFFSET_BITS=64
> compile flag (type off_t or structures containing off_t fields).
> safe_mmap() was left from this conversion.
>
> Fixes: 3f571da28d ("include: Move inline functions to special header")
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
>

Reviewed-by: Li Wang <liwang@redhat.com>

-- 
Regards,
Li Wang


More information about the ltp mailing list