8317866: replace NET_SocketAvailable

Reviewed-by: dfuchs, alanb
This commit is contained in:
Matthias Baesken 2023-10-12 07:22:49 +00:00
parent 6d6c9008d5
commit 424de295a6
4 changed files with 7 additions and 30 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 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
@ -161,9 +161,6 @@ int NET_IsZeroAddr(jbyte* caddr);
* platform-specific pre/post processing of the arguments and/or results.
*/
JNIEXPORT int JNICALL
NET_SocketAvailable(int fd, int *pbytes);
JNIEXPORT int JNICALL
NET_GetSockOpt(int fd, int level, int opt, void *result, int *len);