You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2008/06/27 19:02:23 UTC
svn commit: r672324 -
/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/vmizip.h
Author: hindessm
Date: Fri Jun 27 10:02:23 2008
New Revision: 672324
URL: http://svn.apache.org/viewvc?rev=672324&view=rev
Log:
Compiler warning fix for -Dhy.zip.api=true mode.
Modified:
harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/vmizip.h
Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/vmizip.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/vmizip.h?rev=672324&r1=672323&r2=672324&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/vmizip.h (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/shared/vmizip.h Fri Jun 27 10:02:23 2008
@@ -93,6 +93,8 @@
char _vmipadding0065[3]; /* 3 bytes of automatic padding */
} VMIZipFile;
+struct HyZipCache; /* forward declaration */
+
typedef struct VMIZipFunctionTable {
I_32 (PVMCALL zip_closeZipFile) (VMInterface * vmi, VMIZipFile * zipFile) ;
void (PVMCALL zip_freeZipEntry) (VMInterface * vmi, VMIZipEntry * entry) ;
@@ -109,7 +111,7 @@
IDATA (PVMCALL zipCache_enumElement) (void *handle, char *nameBuf, UDATA nameBufSize, UDATA * offset) ;
IDATA (PVMCALL zipCache_enumGetDirName) (void *handle, char *nameBuf, UDATA nameBufSize) ;
void (PVMCALL zipCache_enumKill) (void *handle) ;
- IDATA (PVMCALL zipCache_enumNew) (void * zipCache, char *directoryName, void **handle) ;
+ IDATA (PVMCALL zipCache_enumNew) (struct HyZipCache * zipCache, char *directoryName, void **handle) ;
void *reserved;
} VMIZipFunctionTable;