From: Tom Tromey Date: Thu, 23 Jun 2022 20:26:13 +0000 (-0600) Subject: Don't declare cli_set_logging X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d75bdf170e6eadff038d4265de99b7103241f1ef;p=binutils-gdb.git Don't declare cli_set_logging cli_set_logging is declared but not defined. It's probably a leftover from whenever interpreters were changed to use inheritance. This patch removes the declaration. Tested by grep and rebuilding. --- diff --git a/gdb/cli/cli-interp.h b/gdb/cli/cli-interp.h index 2e89a36d86a..863e8c3133e 100644 --- a/gdb/cli/cli-interp.h +++ b/gdb/cli/cli-interp.h @@ -34,11 +34,6 @@ public: bool supports_command_editing () override; }; -/* The CLI interpreter's set_logging_proc method. Exported so other - interpreters can reuse it. */ -extern void cli_set_logging (struct interp *interp, - ui_file_up logfile, bool logging_redirect); - extern int cli_interpreter_supports_command_editing (struct interp *interp); extern void cli_interpreter_pre_command_loop (struct interp *self);