Skip to content

Commit 84963ec

Browse files
committed
Fix type of Signal constants on WASI
1 parent 6242cb2 commit 84963ec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/syscall/syscall_libc_wasi.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ import (
1313
type Signal int
1414

1515
const (
16-
SIGCHLD = 16
17-
SIGINT = 2
18-
SIGKILL = 9
19-
SIGTRAP = 5
20-
SIGQUIT = 3
21-
SIGTERM = 15
16+
SIGCHLD Signal = 16
17+
SIGINT Signal = 2
18+
SIGKILL Signal = 9
19+
SIGTRAP Signal = 5
20+
SIGQUIT Signal = 3
21+
SIGTERM Signal = 15
2222
)
2323

2424
func (s Signal) Signal() {}

0 commit comments

Comments
 (0)