8201226: missing JNIEXPORT / JNICALL at some places in function declarations/implementations

Co-authored-by: Alexey Ivanov <alexey.ivanov@oracle.com>
Reviewed-by: ihse, mdoerr
This commit is contained in:
Matthias Baesken 2018-04-10 08:38:56 +02:00
parent a9b0242eef
commit cfcd657702
15 changed files with 46 additions and 50 deletions

View file

@ -241,16 +241,16 @@ typedef struct jzfile { /* Zip file */
*/
#define ZIP_ENDCHAIN ((jint)-1)
JNIEXPORT jzentry * JNICALL
JNIEXPORT jzentry *
ZIP_FindEntry(jzfile *zip, char *name, jint *sizeP, jint *nameLenP);
JNIEXPORT jboolean JNICALL
JNIEXPORT jboolean
ZIP_ReadEntry(jzfile *zip, jzentry *entry, unsigned char *buf, char *entrynm);
JNIEXPORT jzentry * JNICALL
JNIEXPORT jzentry *
ZIP_GetNextEntry(jzfile *zip, jint n);
JNIEXPORT jzfile * JNICALL
JNIEXPORT jzfile *
ZIP_Open(const char *name, char **pmsg);
jzfile *
@ -265,10 +265,10 @@ ZIP_Put_In_Cache(const char *name, ZFILE zfd, char **pmsg, jlong lastModified);
jzfile *
ZIP_Put_In_Cache0(const char *name, ZFILE zfd, char **pmsg, jlong lastModified, jboolean usemmap);
JNIEXPORT void JNICALL
JNIEXPORT void
ZIP_Close(jzfile *zip);
JNIEXPORT jzentry * JNICALL
JNIEXPORT jzentry *
ZIP_GetEntry(jzfile *zip, char *name, jint ulen);
JNIEXPORT void JNICALL
ZIP_Lock(jzfile *zip);
@ -281,7 +281,7 @@ ZIP_FreeEntry(jzfile *zip, jzentry *ze);
jlong ZIP_GetEntryDataOffset(jzfile *zip, jzentry *entry);
jzentry * ZIP_GetEntry2(jzfile *zip, char *name, jint ulen, jboolean addSlash);
JNIEXPORT jboolean JNICALL
JNIEXPORT jboolean
ZIP_InflateFully(void *inBuf, jlong inLen, void *outBuf, jlong outLen, char **pmsg);
#endif /* !_ZIP_H_ */