]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused dynamically imported Sleep
authorqmuntal <quimmuntal@gmail.com>
Wed, 5 Apr 2023 07:28:49 +0000 (09:28 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 5 Apr 2023 17:48:40 +0000 (17:48 +0000)
Sleep is not used, it can be removed.

Change-Id: I237c966eb9b4e91127091d78f0b86725139c77a7
Reviewed-on: https://go-review.googlesource.com/c/go/+/482435
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/os_windows.go

index 40e7aade1e6c5dbdb13cebeff4f24c0cf78ab57c..41f8f7784890b1eb5deeed372fd0a48ef9be8e3f 100644 (file)
@@ -49,7 +49,6 @@ const (
 //go:cgo_import_dynamic runtime._SetThreadPriority SetThreadPriority%2 "kernel32.dll"
 //go:cgo_import_dynamic runtime._SetUnhandledExceptionFilter SetUnhandledExceptionFilter%1 "kernel32.dll"
 //go:cgo_import_dynamic runtime._SetWaitableTimer SetWaitableTimer%6 "kernel32.dll"
-//go:cgo_import_dynamic runtime._Sleep Sleep%1 "kernel32.dll"
 //go:cgo_import_dynamic runtime._SuspendThread SuspendThread%1 "kernel32.dll"
 //go:cgo_import_dynamic runtime._SwitchToThread SwitchToThread%0 "kernel32.dll"
 //go:cgo_import_dynamic runtime._TlsAlloc TlsAlloc%0 "kernel32.dll"
@@ -103,7 +102,6 @@ var (
        _SetThreadPriority,
        _SetUnhandledExceptionFilter,
        _SetWaitableTimer,
-       _Sleep,
        _SuspendThread,
        _SwitchToThread,
        _TlsAlloc,