From 6d91dde27320b658c1a2754e9cef860b0be74e0d Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 22 Jul 2017 13:50:03 -0400 Subject: [PATCH] Rename __PHYSFS_Archiver_SZIP to __PHYSFS_Archiver_7Z. --- src/physfs.c | 2 +- src/physfs_archiver_7z.c | 2 +- src/physfs_internal.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/physfs.c b/src/physfs.c index 7800263..fddd86d 100644 --- a/src/physfs.c +++ b/src/physfs.c @@ -1131,7 +1131,7 @@ static int initStaticArchivers(void) REGISTER_STATIC_ARCHIVER(ZIP); #endif #if PHYSFS_SUPPORTS_7Z - REGISTER_STATIC_ARCHIVER(SZIP); + REGISTER_STATIC_ARCHIVER(7Z); #endif #if PHYSFS_SUPPORTS_GRP REGISTER_STATIC_ARCHIVER(GRP); diff --git a/src/physfs_archiver_7z.c b/src/physfs_archiver_7z.c index dea616a..4cd80c2 100644 --- a/src/physfs_archiver_7z.c +++ b/src/physfs_archiver_7z.c @@ -387,7 +387,7 @@ static int SZIP_stat(void *opaque, const char *path, PHYSFS_Stat *stat) } /* SZIP_stat */ -const PHYSFS_Archiver __PHYSFS_Archiver_SZIP = +const PHYSFS_Archiver __PHYSFS_Archiver_7Z = { CURRENT_PHYSFS_ARCHIVER_API_VERSION, { diff --git a/src/physfs_internal.h b/src/physfs_internal.h index 6381bc8..342e36a 100644 --- a/src/physfs_internal.h +++ b/src/physfs_internal.h @@ -79,7 +79,7 @@ extern "C" { wrapped in PHYSFS_SUPPORTS_* checks before actually referencing them. */ extern const PHYSFS_Archiver __PHYSFS_Archiver_DIR; extern const PHYSFS_Archiver __PHYSFS_Archiver_ZIP; -extern const PHYSFS_Archiver __PHYSFS_Archiver_SZIP; +extern const PHYSFS_Archiver __PHYSFS_Archiver_7Z; extern const PHYSFS_Archiver __PHYSFS_Archiver_GRP; extern const PHYSFS_Archiver __PHYSFS_Archiver_QPAK; extern const PHYSFS_Archiver __PHYSFS_Archiver_HOG;