Remove unused struct
This commit is contained in:
parent
afa3a9cc6c
commit
74defb1028
@ -548,11 +548,6 @@ func addNewThread(dbp *DebuggedProcess, pid int) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type waitstats struct {
|
|
||||||
pid int
|
|
||||||
status *syscall.WaitStatus
|
|
||||||
}
|
|
||||||
|
|
||||||
func wait(pid, options int) (int, *syscall.WaitStatus, error) {
|
func wait(pid, options int) (int, *syscall.WaitStatus, error) {
|
||||||
var status syscall.WaitStatus
|
var status syscall.WaitStatus
|
||||||
wpid, err := syscall.Wait4(pid, &status, syscall.WALL|options, nil)
|
wpid, err := syscall.Wait4(pid, &status, syscall.WALL|options, nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user