]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: hide internal comment from Syscall documentation
authorAustin Clements <austin@google.com>
Thu, 4 Jun 2020 15:16:43 +0000 (11:16 -0400)
committerAustin Clements <austin@google.com>
Thu, 4 Jun 2020 17:50:15 +0000 (17:50 +0000)
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>
src/syscall/dll_windows.go

index 75bc372c3de03f50940b29a3b9d6c8e17dd75c06..819bc5eeb81cb7e9ac37b09dd56901a06dcbc8d4 100644 (file)
@@ -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)