From 762be97bd97fca47f1129fd15fc36ad03669f69f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 25 May 2024 18:56:32 -0700 Subject: windows: drop the hEvent initialization for win_io structures. We use overlapped I/O, so we don't need a separate hEvent. --- src/platform/windows/win_impl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/platform/windows/win_impl.h') diff --git a/src/platform/windows/win_impl.h b/src/platform/windows/win_impl.h index 7842bdb4..1354709b 100644 --- a/src/platform/windows/win_impl.h +++ b/src/platform/windows/win_impl.h @@ -1,5 +1,5 @@ // -// Copyright 2021 Staysail Systems, Inc. +// Copyright 2024 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // // This software is supplied under the terms of the MIT License, a @@ -122,8 +122,7 @@ extern void nni_win_udp_sysfini(void); extern int nni_win_resolv_sysinit(void); extern void nni_win_resolv_sysfini(void); -extern int nni_win_io_init(nni_win_io *, nni_win_io_cb, void *); -extern void nni_win_io_fini(nni_win_io *); +extern void nni_win_io_init(nni_win_io *, nni_win_io_cb, void *); extern int nni_win_io_register(HANDLE); -- cgit v1.2.3-70-g09d2