8311606: Change read_icc_profile() to static function in java.desktop/share/native/libjavajpeg/imageioJPEG.c

Reviewed-by: serb
This commit is contained in:
Jiangli Zhou 2023-07-11 16:53:44 +00:00
parent a03a3a43bb
commit e154b0d6cd

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2023, 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
@ -1291,7 +1291,7 @@ marker_is_icc (jpeg_saved_marker_ptr marker)
* with an appropriate message.
*/
jbyteArray
static jbyteArray
read_icc_profile (JNIEnv *env, j_decompress_ptr cinfo)
{
jpeg_saved_marker_ptr marker;