public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: remove unused print_command_line and print_command_lines declarations
@ 2024-04-25 17:05 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2024-04-25 17:05 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=32e41cd6cc20a6500e130661307f5b13dbed1b36

commit 32e41cd6cc20a6500e130661307f5b13dbed1b36
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Tue Apr 23 15:22:42 2024 -0400

    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>

Diff:
---
 gdb/gdbcmd.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h
index c212a0caf73..92fa9a7bf14 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-25 17:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 17:05 [binutils-gdb] gdb: remove unused print_command_line and print_command_lines declarations Simon Marchi

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).