From d19562d81ff75e4538d47a4c91066f6accd0b0a1 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 7 Sep 2019 22:30:50 +0000 Subject: mgdb: removed winnt_pfd_from_pid() [--> winnt_process_record()]. --- overlay/mgdb/gdb/winnt-nat.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'overlay/mgdb/gdb') diff --git a/overlay/mgdb/gdb/winnt-nat.c b/overlay/mgdb/gdb/winnt-nat.c index bf997c9..0d26dcb 100644 --- a/overlay/mgdb/gdb/winnt-nat.c +++ b/overlay/mgdb/gdb/winnt-nat.c @@ -93,18 +93,6 @@ static void winnt_plist_remove (pid_t pid) } } -static int winnt_pfd_from_pid (pid_t pid) -{ - winnt_process * pdbg; - winnt_process * pcap; - - for (pdbg=plist, pcap=&plist[pcnt]; pdbgpid == pid) - return pdbg->pfd; - - return -1; -} - static struct winnt_process * winnt_process_record(pid_t pid) { winnt_process * pdbg; -- cgit v1.2.3