]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: remove unused print_command_line and print_command_lines declarations
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 23 Apr 2024 19:22:42 +0000 (15:22 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 25 Apr 2024 16:58:53 +0000 (12:58 -0400)
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>
gdb/gdbcmd.h

index c212a0caf7366aebb2ee94d31be6b25028b7d50b..92fa9a7bf14aaedaf9f43ab332079f7bbfb04bc7 100644 (file)
 #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;