From b926335f334fc8019643d14d4e6d247ed787746b Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 26 Nov 2019 12:12:02 -0500 Subject: Remove unused overload of exit_inferior_silent This function is not used in the code base. gdb/ChangeLog: * inferior.c (exit_inferior_silent): Remove. Change-Id: Ib2b7662744da079185ceac2a165b47590bd3113c --- gdb/ChangeLog | 4 ++++ gdb/inferior.c | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b2068a9..9d875fd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2019-11-26 Simon Marchi + * inferior.c (exit_inferior_silent): Remove. + +2019-11-26 Simon Marchi + * dictionary.c (dict_empty, mdict_empty): Remove. * dictionary.c (mdict_empty): Remove. diff --git a/gdb/inferior.c b/gdb/inferior.c index cf21754..84e4d24 100644 --- a/gdb/inferior.c +++ b/gdb/inferior.c @@ -221,14 +221,6 @@ exit_inferior (inferior *inf) } void -exit_inferior_silent (int pid) -{ - struct inferior *inf = find_inferior_pid (pid); - - exit_inferior_1 (inf, 1); -} - -void exit_inferior_silent (inferior *inf) { exit_inferior_1 (inf, 1); -- cgit v1.1