HomeFreeBSD

include: ssp: don't shadow the mempcpy builtin

Description

include: ssp: don't shadow the mempcpy builtin

GCC emits a warning about shadowing a builtin with our mempcpy
declaration, so switch it to using the same model as memcpy() and
use the apparently-existing builtin_mempcpy_chk().

Reviewed by: kib (earlier version), markj
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D45976

Details

Provenance
kevansAuthored on Jul 16 2024, 5:12 AM
Reviewer
kib
Differential Revision
D45976: Collection of fixes for _FORTIFY_SOURCE
Parents
rGb8730c11a395: include: ssp: fix the build with earlier C standards
Branches
Unknown
Tags
Unknown