* [pushed] Don't declare cli_set_logging
@ 2022-06-23 20:27 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-06-23 20:27 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
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.
---
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 @@ class cli_interp_base : public interp
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);
--
2.34.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-23 20:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 20:27 [pushed] Don't declare cli_set_logging Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).