]> git.ipfire.org Git - thirdparty/libarchive.git/commit
HBSD: wrap function declaration in an ifdef to appease CI
authorShawn Webb <shawn.webb@hardenedbsd.org>
Sun, 9 Aug 2020 12:15:06 +0000 (08:15 -0400)
committerShawn Webb <shawn.webb@hardenedbsd.org>
Wed, 14 Oct 2020 16:40:34 +0000 (12:40 -0400)
commit9277468711badf44954c952abcf75c536164b2ca
tree1f99cb9740566e132a18a3137b89c53c036c2c29
parent08f53f56f23f20f1906ad30c209605e1b91a95ab
HBSD: wrap function declaration in an ifdef to appease CI

The function I added only applies to FreeBSD. As such, if the function
declaration isn't ifdef'd out for other architectures, continuous
integration (CI) builds fail. Mitigate the failure by guarding the
function declaration with the proper preprocessor macro conditional.

Signed-off-by: Shawn Webb <shawn.webb@hardenedbsd.org>
libarchive/archive_read_disk_entry_from_file.c