--- old/src/java.desktop/windows/native/libawt/windows/img_util_md.h 2018-03-23 14:24:41.477157844 +0100 +++ new/src/java.desktop/windows/native/libawt/windows/img_util_md.h 2018-03-23 14:24:41.257157846 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2001, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -32,6 +32,7 @@ #else #include "colordata.h" #endif +#include "jni.h" #ifdef __cplusplus extern "C" { @@ -94,7 +95,10 @@ ((dstLockInfo.inv_cmap)[(((r)>>3)<<10) | (((g)>>3)<<5) | ((b)>>3)]) extern void freeICMColorData(ColorData *pData); -extern void initInverseGrayLut(int* prgb, int rgbsize, ColorData* cData); + +JNIEXPORT void JNICALL +initInverseGrayLut(int* prgb, int rgbsize, ColorData* cData); + extern unsigned char* initCubemap(int* cmap, int cmap_len, int cube_dim); extern void initDitherTables(ColorData* cData);