--- old/src/java.desktop/share/native/common/awt/medialib/mlib_ImageCreate.c 2018-05-02 10:34:26.231297200 +0100 +++ new/src/java.desktop/share/native/common/awt/medialib/mlib_ImageCreate.c 2018-05-02 10:34:25.048055000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -227,7 +227,8 @@ } /***************************************************************/ -JNIEXPORT mlib_image* JNICALL mlib_ImageCreateStruct(mlib_type type, +JNIEXPORT +mlib_image* mlib_ImageCreateStruct(mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height, @@ -253,7 +254,8 @@ } /***************************************************************/ -JNIEXPORT mlib_image* JNICALL mlib_ImageCreate(mlib_type type, +JNIEXPORT +mlib_image* mlib_ImageCreate(mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height) @@ -352,7 +354,8 @@ } /***************************************************************/ -JNIEXPORT void JNICALL mlib_ImageDelete(mlib_image *img) +JNIEXPORT +void mlib_ImageDelete(mlib_image *img) { if (img == NULL) return; if ((img -> flags & MLIB_IMAGE_USERALLOCATED) == 0) { --- old/src/java.desktop/share/native/libmlib_image/mlib_ImageAffine.c 2018-05-02 10:34:40.425563500 +0100 +++ new/src/java.desktop/share/native/libmlib_image/mlib_ImageAffine.c 2018-05-02 10:34:39.123598600 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 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 @@ -299,7 +299,8 @@ } /***************************************************************/ -JNIEXPORT mlib_status JNICALL mlib_ImageAffine(mlib_image *dst, +JNIEXPORT +mlib_status mlib_ImageAffine(mlib_image *dst, const mlib_image *src, const mlib_d64 *mtx, mlib_filter filter, --- old/src/java.desktop/share/native/libmlib_image/mlib_ImageConvKernelConvert.c 2018-05-02 10:34:48.454358200 +0100 +++ new/src/java.desktop/share/native/libmlib_image/mlib_ImageConvKernelConvert.c 2018-05-02 10:34:47.151878000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 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 @@ -78,7 +78,8 @@ #endif /* __sparc */ /***************************************************************/ -JNIEXPORT mlib_status JNICALL mlib_ImageConvKernelConvert(mlib_s32 *ikernel, +JNIEXPORT +mlib_status mlib_ImageConvKernelConvert(mlib_s32 *ikernel, mlib_s32 *iscale, const mlib_d64 *fkernel, mlib_s32 m, --- old/src/java.desktop/share/native/libmlib_image/mlib_ImageConvMxN.c 2018-05-02 10:34:55.763435400 +0100 +++ new/src/java.desktop/share/native/libmlib_image/mlib_ImageConvMxN.c 2018-05-02 10:34:54.668052600 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 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 @@ -90,7 +90,8 @@ #include "mlib_ImageConvEdge.h" /***************************************************************/ -JNIEXPORT mlib_status JNICALL mlib_ImageConvMxN(mlib_image *dst, +JNIEXPORT +mlib_status mlib_ImageConvMxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, --- old/src/java.desktop/share/native/libmlib_image/mlib_c_ImageLookUp.c 2018-05-02 10:35:03.282696700 +0100 +++ new/src/java.desktop/share/native/libmlib_image/mlib_c_ImageLookUp.c 2018-05-02 10:35:02.171894500 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -78,7 +78,8 @@ #include "mlib_c_ImageLookUp.h" /***************************************************************/ -JNIEXPORT mlib_status JNICALL mlib_ImageLookUp(mlib_image *dst, +JNIEXPORT +mlib_status mlib_ImageLookUp(mlib_image *dst, const mlib_image *src, const void **table) { --- old/src/java.desktop/share/native/libmlib_image/mlib_image_proto.h 2018-05-02 10:35:10.381628200 +0100 +++ new/src/java.desktop/share/native/libmlib_image/mlib_image_proto.h 2018-05-02 10:35:09.262648700 +0100 @@ -1054,7 +1054,7 @@ #if defined ( __MEDIALIB_OLD_NAMES ) #define __mlib_ImageCreate mlib_ImageCreate #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ -JNIEXPORT mlib_image * JNICALL +JNIEXPORT mlib_image * __mlib_ImageCreate(mlib_type type, mlib_s32 channels, mlib_s32 width, @@ -1064,7 +1064,7 @@ #if defined ( __MEDIALIB_OLD_NAMES ) #define __mlib_ImageCreateStruct mlib_ImageCreateStruct #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ -JNIEXPORT mlib_image * JNICALL +JNIEXPORT mlib_image * __mlib_ImageCreateStruct(mlib_type type, mlib_s32 channels, mlib_s32 width, @@ -1086,7 +1086,7 @@ #if defined ( __MEDIALIB_OLD_NAMES ) #define __mlib_ImageDelete mlib_ImageDelete #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ -JNIEXPORT void JNICALL +JNIEXPORT void __mlib_ImageDelete(mlib_image *img); @@ -1416,7 +1416,7 @@ #if defined ( __MEDIALIB_OLD_NAMES ) #define __mlib_ImageAffine mlib_ImageAffine #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ -JNIEXPORT mlib_status JNICALL +JNIEXPORT mlib_status __mlib_ImageAffine(mlib_image *dst, const mlib_image *src, const mlib_d64 *mtx, @@ -2297,7 +2297,7 @@ #if defined ( __MEDIALIB_OLD_NAMES ) #define __mlib_ImageLookUp mlib_ImageLookUp #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ -JNIEXPORT mlib_status JNICALL +JNIEXPORT mlib_status __mlib_ImageLookUp(mlib_image *dst, const mlib_image *src, const void **table); @@ -2626,7 +2626,7 @@ #if defined ( __MEDIALIB_OLD_NAMES ) #define __mlib_ImageConvKernelConvert mlib_ImageConvKernelConvert #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ -JNIEXPORT mlib_status JNICALL +JNIEXPORT mlib_status __mlib_ImageConvKernelConvert(mlib_s32 *ikernel, mlib_s32 *iscale, const mlib_d64 *fkernel, @@ -2638,7 +2638,7 @@ #if defined ( __MEDIALIB_OLD_NAMES ) #define __mlib_ImageConvMxN mlib_ImageConvMxN #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ -JNIEXPORT mlib_status JNICALL +JNIEXPORT mlib_status __mlib_ImageConvMxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel,