public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Simon Marchi <simark@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] gdb: remove unused print_command_line and print_command_lines declarations
Date: Thu, 25 Apr 2024 17:05:55 +0000 (GMT)	[thread overview]
Message-ID: <20240425170555.A21693858C98@sourceware.org> (raw)

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;

                 reply	other threads:[~2024-04-25 17:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240425170555.A21693858C98@sourceware.org \
    --to=simark@sourceware.org \
    --cc=gdb-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).