aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-interp.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-06-23 14:26:13 -0600
committerTom Tromey <tromey@adacore.com>2022-06-23 14:26:13 -0600
commitd75bdf170e6eadff038d4265de99b7103241f1ef (patch)
tree887c9fadd9953ffd9d29f71fd9788b43f6dbb2e0 /gdb/cli/cli-interp.h
parentc86acd3f180419c3d9825170492363fe2322fa8d (diff)
downloadgdb-d75bdf170e6eadff038d4265de99b7103241f1ef.zip
gdb-d75bdf170e6eadff038d4265de99b7103241f1ef.tar.gz
gdb-d75bdf170e6eadff038d4265de99b7103241f1ef.tar.bz2
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.
Diffstat (limited to 'gdb/cli/cli-interp.h')
-rw-r--r--gdb/cli/cli-interp.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/cli/cli-interp.h b/gdb/cli/cli-interp.h
index 2e89a36d..863e8c3 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);