From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id A8B633854161; Thu, 23 Jun 2022 20:27:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8B633854161 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Don't declare cli_set_logging X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: c86acd3f180419c3d9825170492363fe2322fa8d X-Git-Newrev: d75bdf170e6eadff038d4265de99b7103241f1ef Message-Id: <20220623202723.A8B633854161@sourceware.org> Date: Thu, 23 Jun 2022 20:27:23 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2022 20:27:23 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dd75bdf170e6e= adff038d4265de99b7103241f1ef commit d75bdf170e6eadff038d4265de99b7103241f1ef Author: Tom Tromey Date: Thu Jun 23 14:26:13 2022 -0600 Don't declare cli_set_logging =20 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: --- gdb/cli/cli-interp.h | 5 ----- 1 file changed, 5 deletions(-) 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; }; =20 -/* 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= ); =20 extern void cli_interpreter_pre_command_loop (struct interp *self);