aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-04-23 15:22:42 -0400
committerSimon Marchi <simon.marchi@efficios.com>2024-04-25 12:58:53 -0400
commit32e41cd6cc20a6500e130661307f5b13dbed1b36 (patch)
tree1f0e2923b3ba055cd1511d3ae905e9f313827484
parent824dd26e97d6729d60d23ffc3c6dc27dec9b657e (diff)
downloadbinutils-32e41cd6cc20a6500e130661307f5b13dbed1b36.zip
binutils-32e41cd6cc20a6500e130661307f5b13dbed1b36.tar.gz
binutils-32e41cd6cc20a6500e130661307f5b13dbed1b36.tar.bz2
gdb: remove unused print_command_line and print_command_lines declarations
There is no corresponding definition for print_command_line. There is already a declaration for print_command_lines in cli/cli-script.h (the implementation is in cli/cli-script.c). Change-Id: Ic9e67ed04703306d614383ead14e2b2b059b2a8e Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r--gdb/gdbcmd.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h
index c212a0c..92fa9a7 100644
--- a/gdb/gdbcmd.h
+++ b/gdb/gdbcmd.h
@@ -29,11 +29,6 @@
#include "cli/cli-script.h"
#include "cli/cli-cmds.h"
-extern void print_command_line (struct command_line *, unsigned int,
- struct ui_file *);
-extern void print_command_lines (struct ui_out *,
- struct command_line *, unsigned int);
-
/* Chains containing all defined "set/show style" subcommands. */
extern struct cmd_list_element *style_set_list;
extern struct cmd_list_element *style_show_list;