summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/libarchive/archive_pack_dev.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-15 18:03:49 (GMT)
committerBrad King <brad.king@kitware.com>2022-02-15 18:03:49 (GMT)
commitb3644e460fc8556c24c2a520129a16be04d4f2d4 (patch)
treeaf7fe4511c0183e2a70a8272c116f62e9c62052e /Utilities/cmlibarchive/libarchive/archive_pack_dev.c
parent406503f62087847c7eb34757ca99087bc511cb92 (diff)
parent5d50940288e9158ea3283abe0e85e81872a20f5c (diff)
downloadCMake-b3644e460fc8556c24c2a520129a16be04d4f2d4.zip
CMake-b3644e460fc8556c24c2a520129a16be04d4f2d4.tar.gz
CMake-b3644e460fc8556c24c2a520129a16be04d4f2d4.tar.bz2
Merge branch 'upstream-LibArchive' into update-libarchive
* upstream-LibArchive: LibArchive 2022-02-09 (9147def1)
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_pack_dev.c')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_pack_dev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_pack_dev.c b/Utilities/cmlibarchive/libarchive/archive_pack_dev.c
index f8286d8..d95444d 100644
--- a/Utilities/cmlibarchive/libarchive/archive_pack_dev.c
+++ b/Utilities/cmlibarchive/libarchive/archive_pack_dev.c
@@ -77,7 +77,7 @@ static pack_t pack_12_20;
static pack_t pack_14_18;
static pack_t pack_8_24;
static pack_t pack_bsdos;
-static int compare_format(const void *, const void *);
+static int __LA_LIBC_CC compare_format(const void *, const void *);
static const char iMajorError[] = "invalid major number";
static const char iMinorError[] = "invalid minor number";
@@ -310,6 +310,7 @@ static const struct format {
};
static int
+__LA_LIBC_CC
compare_format(const void *key, const void *element)
{
const char *name;