]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: use deprecation convention in package comment, simplify
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 2 Aug 2018 19:34:38 +0000 (19:34 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 2 Aug 2018 20:32:38 +0000 (20:32 +0000)
Change-Id: I612041d31c01d49135947796fe2a09db3e6894d4
Reviewed-on: https://go-review.googlesource.com/127657
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/syscall.go

index 01ba64819da40aeba120f87112a540a39a1b38ee..e02fc502c7f3d2766ec4e5c97ea763cb60a1d9e4 100644 (file)
 // err is an operating system error describing the failure.
 // On most systems, that error has type syscall.Errno.
 //
-// NOTE: This package is locked down. Code outside the standard
-// Go repository should be migrated to use the corresponding
-// package in the golang.org/x/sys repository. That is also where updates
-// required by new systems or versions should be applied.
-// Signal, Errno and SysProcAttr are not yet available in
-// golang.org/x/sys and must still be referenced from the
-// syscall package. See https://golang.org/s/go1.4-syscall
-// for more information.
+// Deprecated: this package is locked down. Callers should use the
+// corresponding package in the golang.org/x/sys repository instead.
+// That is also where updates required by new systems or versions
+// should be applied. See https://golang.org/s/go1.4-syscall for more
+// information.
 //
 package syscall