summaryrefslogtreecommitdiff
path: root/src/runtime/os_windows.go
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2014-11-20 12:24:03 +1100
committerAlex Brainman <alex.brainman@gmail.com>2014-11-20 12:24:03 +1100
commit4556dad5c76734a7966c6d0c23f9dec4de7196a6 (patch)
tree4e92fb637f845a5f48782851a52078c17916367b /src/runtime/os_windows.go
parent235dd4c7f2e1c75498e6ff5c81ba0d6269464993 (diff)
downloadgo-4556dad5c76734a7966c6d0c23f9dec4de7196a6.tar.gz
[dev.cc] runtime: convert remaining windows C code to Go
LGTM=rsc R=rsc CC=golang-codereviews https://codereview.appspot.com/177090043
Diffstat (limited to 'src/runtime/os_windows.go')
-rw-r--r--src/runtime/os_windows.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/runtime/os_windows.go b/src/runtime/os_windows.go
index fcd8f44cc..097b5d629 100644
--- a/src/runtime/os_windows.go
+++ b/src/runtime/os_windows.go
@@ -4,24 +4,8 @@
package runtime
-import "unsafe"
-
type stdFunction *byte
-func stdcall0(fn stdFunction) uintptr
-func stdcall1(fn stdFunction, a0 uintptr) uintptr
-func stdcall2(fn stdFunction, a0, a1 uintptr) uintptr
-func stdcall3(fn stdFunction, a0, a1, a2 uintptr) uintptr
-func stdcall4(fn stdFunction, a0, a1, a2, a3 uintptr) uintptr
-func stdcall5(fn stdFunction, a0, a1, a2, a3, a4 uintptr) uintptr
-func stdcall6(fn stdFunction, a0, a1, a2, a3, a4, a5 uintptr) uintptr
-func stdcall7(fn stdFunction, a0, a1, a2, a3, a4, a5, a6 uintptr) uintptr
-
-func asmstdcall(fn unsafe.Pointer)
-func getlasterror() uint32
-func setlasterror(err uint32)
-func usleep1(usec uint32)
-
func os_sigpipe() {
gothrow("too many writes on closed pipe")
}