aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2020-06-04 11:16:43 -0400
committerAustin Clements <austin@google.com>2020-06-04 17:50:15 +0000
commit7e477573244000da3cfe60c0d4cb4007097245d9 (patch)
tree094619a37338ea338756790e4f8c3273a2a095bd
parent9d715e0bffe895187bd602d58a4cf2c348f07e49 (diff)
downloadgo-7e477573244000da3cfe60c0d4cb4007097245d9.tar.gz
go-7e477573244000da3cfe60c0d4cb4007097245d9.zip
syscall: hide internal comment from Syscall documentation
There's a comment on the Syscall function that's supposed to be an internal implementation note, but since it's not separated from the function definition, it appears in godoc. Add a blank line to prevent this. Change-Id: Iba307f1cc3844689ec3c6d82c21d441852e35bca Reviewed-on: https://go-review.googlesource.com/c/go/+/236561 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--src/syscall/dll_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syscall/dll_windows.go b/src/syscall/dll_windows.go
index 75bc372c3d..819bc5eeb8 100644
--- a/src/syscall/dll_windows.go
+++ b/src/syscall/dll_windows.go
@@ -21,6 +21,7 @@ type DLLError struct {
func (e *DLLError) Error() string { return e.Msg }
// Implemented in ../runtime/syscall_windows.go.
+
func Syscall(trap, nargs, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
func Syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
func Syscall9(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno)