Kaynağa Gözat

Patched to compile.

Ryan C. Gordon 15 yıl önce
ebeveyn
işleme
c306d73fdc

+ 2 - 2
src/archiver_dir.c

@@ -275,14 +275,14 @@ const PHYSFS_Archiver __PHYSFS_Archiver_DIR =
     DIR_remove,             /* remove() method         */
     DIR_mkdir,              /* mkdir() method          */
     DIR_dirClose,           /* dirClose() method       */
+    DIR_stat,               /* stat() method           */
     DIR_read,               /* read() method           */
     DIR_write,              /* write() method          */
     DIR_eof,                /* eof() method            */
     DIR_tell,               /* tell() method           */
     DIR_seek,               /* seek() method           */
     DIR_fileLength,         /* fileLength() method     */
-    DIR_fileClose,          /* fileClose() method      */
-    DIR_stat                /* stat() method           */
+    DIR_fileClose           /* fileClose() method      */
 };
 
 /* end of dir.c ... */

+ 2 - 2
src/archiver_grp.c

@@ -479,14 +479,14 @@ const PHYSFS_Archiver __PHYSFS_Archiver_GRP =
     GRP_remove,             /* remove() method         */
     GRP_mkdir,              /* mkdir() method          */
     GRP_dirClose,           /* dirClose() method       */
+    GRP_stat,               /* stat() method           */
     GRP_read,               /* read() method           */
     GRP_write,              /* write() method          */
     GRP_eof,                /* eof() method            */
     GRP_tell,               /* tell() method           */
     GRP_seek,               /* seek() method           */
     GRP_fileLength,         /* fileLength() method     */
-    GRP_fileClose,          /* fileClose() method      */
-    GRP_stat                /* stat() method           */
+    GRP_fileClose           /* fileClose() method      */
 };
 
 #endif  /* defined PHYSFS_SUPPORTS_GRP */

+ 2 - 2
src/archiver_hog.c

@@ -514,14 +514,14 @@ const PHYSFS_Archiver __PHYSFS_Archiver_HOG =
     HOG_remove,             /* remove() method         */
     HOG_mkdir,              /* mkdir() method          */
     HOG_dirClose,           /* dirClose() method       */
+    HOG_stat,               /* stat() method           */
     HOG_read,               /* read() method           */
     HOG_write,              /* write() method          */
     HOG_eof,                /* eof() method            */
     HOG_tell,               /* tell() method           */
     HOG_seek,               /* seek() method           */
     HOG_fileLength,         /* fileLength() method     */
-    HOG_fileClose,          /* fileClose() method      */
-    HOG_stat                /* stat() method           */
+    HOG_fileClose           /* fileClose() method      */
 };
 
 #endif  /* defined PHYSFS_SUPPORTS_HOG */

+ 2 - 2
src/archiver_iso9660.c

@@ -1008,14 +1008,14 @@ const PHYSFS_Archiver __PHYSFS_Archiver_ISO9660 =
     ISO9660_remove,             /* remove() method         */
     ISO9660_mkdir,              /* mkdir() method          */
     ISO9660_dirClose,           /* dirClose() method       */
+    ISO9660_stat,               /* stat() method           */
     ISO9660_read,               /* read() method           */
     ISO9660_write,              /* write() method          */
     ISO9660_eof,                /* eof() method            */
     ISO9660_tell,               /* tell() method           */
     ISO9660_seek,               /* seek() method           */
     ISO9660_fileLength,         /* fileLength() method     */
-    ISO9660_fileClose,          /* fileClose() method      */
-    ISO9660_stat                /* stat() method           */
+    ISO9660_fileClose           /* fileClose() method      */
 };
 
 #endif  /* defined PHYSFS_SUPPORTS_ISO9660 */

+ 2 - 2
src/archiver_lzma.c

@@ -750,14 +750,14 @@ const PHYSFS_Archiver __PHYSFS_Archiver_LZMA =
     LZMA_remove,             /* remove() method         */
     LZMA_mkdir,              /* mkdir() method          */
     LZMA_dirClose,           /* dirClose() method       */
+    LZMA_stat,               /* stat() method           */
     LZMA_read,               /* read() method           */
     LZMA_write,              /* write() method          */
     LZMA_eof,                /* eof() method            */
     LZMA_tell,               /* tell() method           */
     LZMA_seek,               /* seek() method           */
     LZMA_fileLength,         /* fileLength() method     */
-    LZMA_fileClose,          /* fileClose() method      */
-    LZMA_stat         /* stat() method    */
+    LZMA_fileClose           /* fileClose() method      */
 };
 
 #endif  /* defined PHYSFS_SUPPORTS_7Z */

+ 2 - 2
src/archiver_mvl.c

@@ -474,14 +474,14 @@ const PHYSFS_Archiver __PHYSFS_Archiver_MVL =
     MVL_remove,             /* remove() method         */
     MVL_mkdir,              /* mkdir() method          */
     MVL_dirClose,           /* dirClose() method       */
+    MVL_stat,               /* stat() method           */
     MVL_read,               /* read() method           */
     MVL_write,              /* write() method          */
     MVL_eof,                /* eof() method            */
     MVL_tell,               /* tell() method           */
     MVL_seek,               /* seek() method           */
     MVL_fileLength,         /* fileLength() method     */
-    MVL_fileClose,          /* fileClose() method      */
-    MVL_stat                /* stat() method           */
+    MVL_fileClose           /* fileClose() method      */
 };
 
 #endif  /* defined PHYSFS_SUPPORTS_MVL */

+ 2 - 2
src/archiver_qpak.c

@@ -637,14 +637,14 @@ const PHYSFS_Archiver __PHYSFS_Archiver_QPAK =
     QPAK_remove,             /* remove() method         */
     QPAK_mkdir,              /* mkdir() method          */
     QPAK_dirClose,           /* dirClose() method       */
+    QPAK_stat,               /* stat() method           */
     QPAK_read,               /* read() method           */
     QPAK_write,              /* write() method          */
     QPAK_eof,                /* eof() method            */
     QPAK_tell,               /* tell() method           */
     QPAK_seek,               /* seek() method           */
     QPAK_fileLength,         /* fileLength() method     */
-    QPAK_fileClose,          /* fileClose() method      */
-    QPAK_stat                /* stat() method           */
+    QPAK_fileClose           /* fileClose() method      */
 };
 
 #endif  /* defined PHYSFS_SUPPORTS_QPAK */

+ 2 - 2
src/archiver_wad.c

@@ -533,14 +533,14 @@ const PHYSFS_Archiver __PHYSFS_Archiver_WAD =
     WAD_remove,             /* remove() method         */
     WAD_mkdir,              /* mkdir() method          */
     WAD_dirClose,           /* dirClose() method       */
+    WAD_stat,               /* stat() method           */
     WAD_read,               /* read() method           */
     WAD_write,              /* write() method          */
     WAD_eof,                /* eof() method            */
     WAD_tell,               /* tell() method           */
     WAD_seek,               /* seek() method           */
     WAD_fileLength,         /* fileLength() method     */
-    WAD_fileClose,          /* fileClose() method      */
-    WAD_stat                /* stat() method           */
+    WAD_fileClose           /* fileClose() method      */
 };
 
 #endif  /* defined PHYSFS_SUPPORTS_WAD */

+ 2 - 2
src/archiver_zip.c

@@ -1462,14 +1462,14 @@ const PHYSFS_Archiver __PHYSFS_Archiver_ZIP =
     ZIP_remove,             /* remove() method         */
     ZIP_mkdir,              /* mkdir() method          */
     ZIP_dirClose,           /* dirClose() method       */
+    ZIP_stat,               /* stat() method           */
     ZIP_read,               /* read() method           */
     ZIP_write,              /* write() method          */
     ZIP_eof,                /* eof() method            */
     ZIP_tell,               /* tell() method           */
     ZIP_seek,               /* seek() method           */
     ZIP_fileLength,         /* fileLength() method     */
-    ZIP_fileClose,          /* fileClose() method      */
-    ZIP_stat                /* stat() method           */
+    ZIP_fileClose           /* fileClose() method      */
 };
 
 #endif  /* defined PHYSFS_SUPPORTS_ZIP */