On Tue, 13 Oct 2026 22:11:20 GMT, Phil Race <[email protected]> wrote:

> mlib_image_proto.h is 95% prototypes for functions that do not exist.
> 
> For most of the rest that are there it is pointless.
> Nothing is defined using the "__" pre-fixed names and nothing is calling 
> using them, so there's no need to map the names.
> 
> Even the JNIEXPORT''ed j2d names aren't really needed because they are never 
> referenced at compile time, they are located at runtime, however I'm inclined 
> to leave them there.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 005b7266
Author:    Phil Race <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/005b7266cda335cf81519c57a92e5c9f1586e1f8
Stats:     3326 lines in 1 file changed: 2 ins; 3301 del; 23 mod

8394487: medialib has many unused C function prototypes

Reviewed-by: jdv, kizune, serb

-------------

PR: https://git.openjdk.org/jdk/pull/33353

Reply via email to