Skip to content

Commit 48062e9

Browse files
alexbrainmancherrymui
authored andcommitted
plan9: change Note to alias syscall.Note
This CL changes Note type from string to alias syscall.Note to make Note useful. For golang/go#77076. Change-Id: Ifb0292a6867ced95bb7e6c20877564cd527c1183 Reviewed-on: https://go-review.googlesource.com/c/sys/+/736480 Reviewed-by: Austin Clements <austin@google.com> Reviewed-by: David du Colombier <0intro@gmail.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Richard Miller <millerresearch@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
1 parent 4f23f80 commit 48062e9

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

plan9/syscall_plan9.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,7 @@ import (
1919

2020
// A Note is a string describing a process note.
2121
// It implements the os.Signal interface.
22-
type Note string
23-
24-
func (n Note) Signal() {}
25-
26-
func (n Note) String() string {
27-
return string(n)
28-
}
22+
type Note = syscall.Note
2923

3024
var (
3125
Stdin = 0

0 commit comments

Comments
 (0)